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


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: [xml-dev] SAX Locator vs {start,end}Entity

[ Lists Home | Date Index | Thread Index ]

In article <000601c2d8e6$88da49c0$6401a8c0@pcukmka> you write:

>Why do you need to monitor the startEntity and endEntity events to get
>the base URI?

Because I want to take account of xml:base.  The base URI of an element
is either:

 - the value specified by its xml:base attribute, if it has one, or

 - the base URI of its parent, if there wasn't an intervening entity
   boundary, or

 - the retrieval URI of the containing entity.

-- Richard


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

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