xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edwin Goei <edwi...@sun.com>
Subject Re: Namespace feature using a SAX parser with JAXP.
Date Thu, 16 Aug 2001 21:11:34 GMT
jean-guillaume.battaglia@inexware.fr wrote:
> 
> But when I use JAXP like this :
> 
> SAXParserFactory factory = SAXParserFactory.newInstance();
> 
> SAXParser saxParser = factory.newSAXParser();
> 
> XMLReader myReader = saxParser.getXMLReader();
> 
> I can check that saxParser.isNamespaceAware() or
> myReader.getFeature("http://xml.org/sax/features/namespaces") both
> return false.
> 
> Is it normal ?
> 
> If it is, why isn't JAXP (or maybe xerces implementation of
> SAXParserFactory) respecting SAX2 specification ?

See http://xml.apache.org/~edwingo/jaxp-faq.html#nsDefaults.

-Edwin

---------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org


Mime
View raw message