Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [xml-dev] how to use xml:base and relative URLs with SAX/Java?

From: Chris Burdess <dog@-------.--->
To: Elliotte Harold <elharo@-------.---.--->
Date: 1/7/2006 2:52:00 PM
Elliotte Harold wrote:
> >The feature indicates/sets whether XML Base processing is enabled or not.
> >
> >What do you conceive the property to contain?
> 
> Then I go back to my original question. What method in which class 
> returns the base URI? There's no method to do that in standard SAX, 
> which is why I hypothesized that it would be exposed as a property.

You're right, there's no requirement to make this available via SAX. However,
given that it's evidently useful I have now exposed this as the SAX property

  http://gnu.org/sax/properties/base-uri

in the GNU SAX parser.
-- 
Chris Burdess
  "They that can give up essential liberty to obtain a little safety
  deserve neither liberty nor safety." - Benjamin Franklin

PGP signature


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent