7 Questions on DCDs

james anderson James.Anderson at mecomnet.de
Wed Jan 13 12:03:17 GMT 1999


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 at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)




More information about the Xml-dev mailing list