[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Re: Output validation with XSLT 2.0

Subject: Re: Re: Output validation with XSLT 2.0
From: "Andrew Welch" <andrew.j.welch@xxxxxxxxx>
Date: Tue, 6 May 2008 10:04:25 +0100
Re:  Re: Output validation with XSLT 2.0
2008/5/6 Mukul Gandhi <gandhi.mukul@xxxxxxxxx>:
>  From the end user's point of view, I think having xs: generated in the
>  output tree, when it won't be used anywhere, is probably not a good
>  design.


>  As suggested by Ken, while the tree is being constructed, some parts
>  of it may be serialized without even the whole of the tree being
>  formed in memory. This theory makes me feel, the XSLT 2.0 spec is
>  correct in the current form (as regards to the point we are
>  discussing).

...but that contradicts what you've said above - the reason namespaces
are generated in the output tree even though they aren't used is to
allow serialization to begin before the entire output tree is known.
It's the very reason why you get the same namespace appearing hundreds
of times throughout the result rather than just once at the root of
the tree.

>  The spec has to balance, what the processor should do for the user
>  (for this discussion, generating xs: declaration for the user), and
>  what the user can do (like doing exclude-result-prefixes in the
>  stylesheet).


>  The WG already has had years of discussions finalizing this decision,
>  and potential implementers agree to this, so I think it should be
>  fine.

Indeed, I'm not proposing any changes, it's no big deal - just
pointing out (or perhaps looking for confirmation) that the xml schema
namespace could easily have been excluded by default.

Andrew Welch
Kernow: http://kernowforsaxon.sf.net/

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.