[Home] [By Thread] [By Date] [Recent Entries]


At 05:08 PM 1/4/2002 +0100, Julian Reschke wrote:
>Wouldn't it be much much better just to (be able to) say that they indeed
>behave identically?

That would have been sufficient, except that many questions occur in XQuery 
that did not occur in XML namespaces as part of an XML document.

XQuery needs to be able to declare namespace prefixes globally, and the 
interactions between these global interactions and the xmlns attributes in 
element constructors had to be defined. Can two global namespace 
declarations declare the same prefix? Can an xmlns attribute redefine a 
prefix previously assigned? Also, namespace prefixes can be used in 
expressions that occur within curly braces in an element - can namespace 
prefixes defined with namespace attributes in element constructors be used 
in these expressions? These kinds of questions had to be answered, which is 
why the given section of the XQuery document exists.

Jonathan


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member