Re: [Sax-devel] XInclude and SAX Incompatibility
"Karl Waclawek" <[email protected]> Tue, 24 Jun 2003 12:00:46 -0400
| Newsgroups | gmane.text.xml.sax.general,gmane.text.xml.devel,gmane.text.xml.sax.devel |
|---|---|
| Message-ID | <006a01c33a69$c615a430$9e539696@citkwaclaww2k> |
> (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 ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ List: [email protected] See: http://www.saxproject.org https://lists.sourceforge.net/lists/listinfo/sax-users