[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
Henry S. Thompson wrote: >>Allowing QNames creates a dependency between the applications and the >>markup which should not exist. It makes it more difficult to build >>applications relying on a "virtual XML" which is never serialized as >>XML. >> > > Intriguing -- I would say exactly the opposite, i.e. that QNames provide a > uniform way to ensure that "virtual XML" (what I think of as the > type-enriched infoset) has (namespace name,local name) pairs in it > wherever you want them. Yes, you can see them like this but they do so it by accessing stuff whithin the "markup layer" and you can't separate the markup from the data easily any longer after you've done so. Canonical XML is a good example of problems which happen when you do so. I viewed Canonical XML as a way to define a normalize form of the markup used in a document. Anyway, because of QNames may be used in the content namespace prefixes cannot be rewriten any longer. For me, an ideal markup language should isolate the "data" layer from the "markup layer" and QNames in elements or attributes is the only point that breaks this rule! IMO, this is a much too expensive price to pay for a uniform way to ensure to support extened names. Eric > ht > -- Rendez-vous a Paris pour mes formations XML/XSLT. http://dyomedea.com/formation/ ------------------------------------------------------------------------ Eric van der Vlist http://xmlfr.org http://dyomedea.com http://xsltunit.org http://4xt.org http://examplotron.org ------------------------------------------------------------------------
|
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
|