[XQuery Talk Mailing List Archive Home] [By Date] [By Thread] [By Subject] [By Author] [Recent Entries] [Reply To This Message]

Newbie Q: Namespace Handling

Michael Kay mike at saxonica.com
Thu May 3 08:33:13 PDT 2007


  Newbie Q: Namespace Handling
> That is because many of Google's tools (and other people, not 
> to pick on Google alone here) have no clue of real XML 
> namespace handling (well there are exceptions but this is a 
> prime example).

Yes, I think it's an example of a tendency I've seen elsewhere: there are
some companies with lots of resources and lots of clever programmers who
think it's smart to do their own XML parsing; and they inevitably get it
wrong.

It might be, though, that they are applying some kind of DTD-based
validation even though the file you generated has no reference to a DTD.
DTDs are not namespace-aware, so they often impose constraints such as the
use of a particular prefix or none. That's one reason XQuery and XSLT 2.0
were changed to be more prescriptive about the prefixes that are generated
in the result document. It's also a good reason for abandoning the use of
DTDs.

Michael Kay
http://www.saxonica.com/

 



Purchase Stylus Studio Online Today!

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.
Email
First Name
Last Name
Company
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-2007 All Rights Reserved.