[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Errors in Kendall Clark's xml.com article on QNames
At 01:50 PM 13/02/02 +0000, Henry S. Thompson wrote: I fought against letting QNames escape into content, lost the argument to James Clark, but I'm beginning to think that the cost-benefit trade-off is positive, despite the considerable cost. >2) "..there's no way for an XML processor to tell whether QNames are > used in values." (again, quoting Lenz [2], ellipses in original) > >That's simply false -- any sensible use of QNames would involve a W3C >XML Schema or other type-assigning schema language, No, Henry. A substtantial proportion of application use no schemas whatsoever past design time. Yes, IF you have a schema language that supports QNames as a type and IF you have a such a schema for the XML language you're using and IF you're willing to take the overhead of schema validation at run-time, THEN there is a way for an XML processor to tell whether QNames are hiding in content. Otherwise not. -Tim
|
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
|