|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Another look at namespaces
David Megginson wrote: > > 1. An application must be able to determine the general language used > by (part of) a document. > 2. An application must be able to determine the specific dialect used > by (part of) a document. David, can you please define "general language" and "dialect" in a manner that I can implement in a computer program? Is "XML" a general language? Is "XHTML" a dialect? Is "XSLT" a language and "XSLT used with XSL FOs" a dialect? Please don't appeal to my common sense or intuition because I have neither and unfortunately neither does my Pentium 233. > We mustn't make easy tasks difficult for the sake of theoretical > purity -- It isn't a question of theoretical purity. It's a question of implementability. According to your model every "language" and "dialect" becomes a special case because there is no definition of what is a language and what is a dialect. You can't design a general purpose processor for mapping dialects into languages or between dialects because it's all "language" specific. Want to know how HTML dialects are related? Go read the HTML spec. Want to know how SVG dialects are related? Go read the SVG spec. > I know, because we tried to do that over and over again in > the SGML world, and, well, we're not debating SGML any more, are we? It seems that we are. Renamed, retargeted and revamped -- and getting "purer and purer" every day (for better or worse). Compare the design purity of, let's say CONCUR to that of namespaces (not entirely unrelated problem domains, BTW). And let's not even get into SHORTREF. SGML was NOT a purist design -- XML is closer but is still pretty far away from purity. Paul Prescod xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i... Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1 To (un)subscribe, mailto:majordomo@i... the following message; (un)subscribe xml-dev To subscribe to the digests, mailto:majordomo@i... the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:rzepa@i...)
|
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
|
|||||||||

Cart








