|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Suggested guidelines for using local types. (was Re: Enlightenmentvi
"Fuchs, Matthew" wrote: > > Francis, > > The "conceit" of XML Schema is that Schema processing happens on the infoset > of the well-formed document parse. Therefore, all namespace details have > been settled before XSDL starts its business. As such, XSDL is basically > concerned with qualified and unqualified - not prefixed or unprefixed. But > your post reemphasizes the point that it's the instance author's job to make > his/her intent clear. > Sure, there's no chance of XSDL getting confused - it's namespace aware. Likewise, XSLT will put in the necessary xmlns="" attribute (I notice that both saxon and msxml put it on the local element itself, not the parent - presumably in case the parent is itself in a non-blank default namespace). It's humans we have to worry about, since XML is supposed to be both human and machine readable. As you say, the instance author should make the intention clear, and I think slapping an explicit xmlns="" attribute on unqualified local elements would do the trick nicely, or at least as nicely as possible. Francis.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








