[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: 7 Questions on DCDs
I missed any ansers to these, but would hope the answer to (2) is "no". To do it this way would conflate the identity of names with the rules for structure. This would be a bad idea. For example, it would permit well formed constructs in which that it would be impossible to determine the element declaration until its attributes have been parsed. Is this really necessary? Roger L. Costello wrote: > ... > of the past? > > (2) XML instance documents will specify the the DCD it is > conforming to using namespaces, rather the using the DOCTYPE > declaration? > > i.e., instead of: > > <?xml version="1.0"?> > <!DOCTYPE BookCatalogue SYSTEM > "file://localhost/xml-course/xml-part1/BookCatalogue.dtd"> > <BookCatalogue> > ... > </BookCatalogue> > > it will be: > > <?xml version="1.0"?> > <BookCatalogue xmlns="file://localhost/xml-course/xml-part1/BookCatalogue.d > cd"> > > where in BookCatalogue.dcd I must have: > > <?xml version="1.0"?> > <DCD> > <Description>DCD to define a Book Catalog</Description> > <Namespace>file://localhost/xml-course/xml-part1/BookCatalog > ue.dcd</N amespace> > <ElementDef Type="BookCatalogue" Model="Elements" Root="true"> > ... > </DCD> > 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...)
|
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
|