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] how to use xml:base and relative URLs with SAX/Java?

[ Lists Home | Date Index | Thread Index ]

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





 

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

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