Re: how to use xml:base and relative URLs with SAX/Java?
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
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format