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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] DSDL part 9: new namespace declarations not needed as part

[ Lists Home | Date Index | Thread Index ]

Rick Jelliffe wrote:

> Is there any need for explicit namespace declarations in the DTD at all?
> 
> Why not just assign whole element sets to a namespace, in the
> external DSDL framework, and leave the syntax of DTDs exactly as it is?

So how do I declare content models that use elements from more than one
set, such as:

   <!ELEMENT a:A (b:B, c:C)>

Do I just use prefixes in the syntax and leave the prefix declarations
to some external mechanism, as your "typicalPrefix" attribute seems to
imply? Or do I simply not declare such elements with a DTD?

> There is
> probably some sweet spot with DTDs where if you have too many
> kinds of declarations it puts more people off than it attracts:

Which I think John's suggestion is close to hitting. I'd guess it's:

   DTDs + namespaces + simple element types

-- Ron




 

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

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