OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: 7 Questions on DCDs

[ Lists Home | Date Index | Thread Index ]
  • From: james anderson <James.Anderson@mecomnet.de>
  • To: xml-dev-digest@ic.ac.uk
  • Date: Wed, 13 Jan 1999 13:07:09 +0100

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





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS