doctypedecl info item

Hi John,

Although I'm happy with the preservation of notations and entity definitions
(esp. those for unparsed entities), the doctypedecl info item seems to be
missing the internal subset declaration.

For my purposes, it would be almost be sufficient to just have a block of
data containing the declaration.  I say almost because I need to reproduce
it in the canonical form, but it needs to be in UTF-8, whereas a block of
data may not be in UTF-8 if the originating document wasn't.

I don't know what to do about that, but in reality the thing that I feel is
missing is the type declarations for attributes.  The canonical form does
not need to preserve the content model so much as the information about
which attribute is an ID, since XPaths embedded in the canonical form may
cease to function properly without this information.

If this cannot be accommodated, it isn't the end of the world since we can
always recommend that the user prepend the DTD onto the canonical form
(putting the onus on the user to encode in UTF-8).


     John Boyer
      Development Team Leader,
      Distributed Processing and XML
      PureEdge Solutions Inc.
      Creating Binding E-Commerce
      v: 250-479-8334, ext. 143  f: 250-479-3772
      1-888-517-2675   http://www.PureEdge.com

Received on Friday, 18 August 2000 13:11:45 UTC