[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: namespace reprise
> From: Emmanuil Batsis (Manos) [mailto:mbatsis@h...] > Sent: Wednesday, August 21, 2002 3:43 PM > To: Julian Reschke; xml-dev@l... > Subject: Re: namespace reprise > > > Julian Reschke wrote: > > >>Julian Reschke wrote: > >> > >> > >Old discussion from when XHTML 1.0 came out. It has a single > namespace name, > >but multiple schemata. > > > > You mean DTDs. I don't recall any normative schema provided with > XHTML 1.0. > But point taken and yes I don't like that, meaning one namespace > corresponding to multiple document definitions. So perhaps we need a way > to group node names under something like a namespace for processors to > be able and make use of those (a browser for example). Personally, I > would like the namespace to point to such a document definition and the > element names (when appended to the namespace URI as fragment > identifiers) to point to their type definition (the fragment of the > document definition). > > Which sounds insane today. > > >>you haven't answered my question on how will processing of *old* > >>documents break. > >> > >> > > > >Well, your new code will have to explicitly support both namespaces. In > >XSLT, that's a nightmare. > > > > Why? I don't usually hard-code stuff and in XSLT (as with anything else) > you can initialize a variable with either namespace as a value; not > exactly a nightmare. In which case the XSLT code will either accept old documents or new documents, but not both...
|
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
|