SAX: External Entity Start and End (question 2 of 10)

Peter Murray-Rust peter at
Sun Jan 4 19:05:34 GMT 1998

At 13:28 04/01/98 -0500, David Megginson wrote:
>However, the DTD designer almost certainly intended this to resolve to

>The only way that I can resolve this correctly is if I know the URI of
>the current external entity.  In Lark, you provide this information
>with a separate Entity argument to each callback; this is a legitimate
>(and more powerful) option, but from the perspective of SAX, it ends
>up complicating the entire API instead of just adding two
>easily-ignored callbacks.

In developing JUMBO I have found it necessary to keep track of URL/Is of
the subcomponents of a document. I suspect that XMLers will very soon start
using XML for distributed documents and wish to know where the components
come from. Thus a standard document is increasingly likely to have
transcluded information or meta-information (the stylesheet is an example).
 so, if it's not too difficult, including entity info could be much used.

Peter Murray-Rust, Director Virtual School of Molecular Sciences, domestic
net connection
VSMS, Virtual Hyperglossary

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at
Archived as:
To (un)subscribe, mailto:majordomo at the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at

More information about the Xml-dev mailing list