[Home] [By Thread] [By Date] [Recent Entries]
James Tauber wrote: >>(2) A namespace is a URI to a DTD. > >No. It doesn't have to be at all (although it *could* be and a URI for a DTD >is as good a URI as any and better than most) What good is a namespace if it *doesn't* reference a DTD? e.g., <BookCatalogue xmlns="http://anywhere-is-fine"> ... </BookCatalogue> There is no way for a parser to validate the stuff between <BookCatalogue> and </BookCatalogue>. It seems like the *main* benefit to be gained from using namespaces should be the ability for an XML document to reuse other DTDs and validate against those DTDs, i.e., your document becomes an assembly of independently validated elements from various DTDs. /Roger 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/ 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...)
|

Cart



