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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [Sax-devel] XInclude and SAX Incompatibility

[ Lists Home | Date Index | Thread Index ]


> (1) When attributes with references to unparsed entities or notations are
> encountered in included documents, these unparsed entities and notations
> must be added to the [unparsed entities] and [notations] properties of the
> document information item, as defined in the XML Infoset specification [2],
> [3].  In SAX, this means sending DTD events.

Why? These are not declarations. They are reported by the content handler.

> SAX specifies that no DTD
> events can be sent after the endDTD/startElement event.  However, there is
> no way of knowing which unparsed entities and notations must be sent until
> after element events start being processed.  

What do you mean? Unparsed entity and Notation declarations are reported
before the EndDTD event, so you know which ones are declared before
the first StartElement call.

Maybe I am mis-understanding you?

Karl





 

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

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