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

Peter Murray-Rust peter at ursus.demon.co.uk
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
>
>  http://yourhost.com/stylesheet.xsl

Agreed.
>
>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.

	P.
Peter Murray-Rust, Director Virtual School of Molecular Sciences, domestic
net connection
VSMS http://www.nottingham.ac.uk/vsms, Virtual Hyperglossary
http://www.venus.co.uk/vhg

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




More information about the Xml-dev mailing list