OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: [xml-dev] The use of XML syntax in XML Query

[ Lists Home | Date Index | Thread Index ]

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





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS