[dsdl-comment] Re: [xml-dev] DSDL part 9: new namespace declarations not needed as part of DTD syntax?

From: Ronald Bourret <rpbourret@rpbourret.com>
Date: Fri Jun 14 2002 - 09:06:25 UTC

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

--
DSDL comments
To unsubscribe, please send a message with the
command  "unsubscribe" to dsdl-comment-request@dsdl.org
(mailto:dsdl-comment-request@dsdl.org?Subject=unsubscribe)
Received on Fri Jun 14 05:04:33 2002

This archive was generated by hypermail 2.1.8 : Fri Dec 03 2004 - 14:00:26 UTC