Default XMLReaderAdapter constructor behaviour does not conform its javadoc
Yevgeniy Astigeyevich <[email protected]> Thu, 24 Jul 2003 02:15:48 -0700 (PDT)
| Newsgroups | gmane.text.xml.sax.general |
|---|---|
| Message-ID | <[email protected]> |
Hello!
I've found that the current default XMLReaderAdapter
constructor's behaviour (SAX 2.01 (sax2 r2)) does not
conform its javadoc, the SAXException is not thrown in
case when the "org.xml.sax.driver" property is not
specified . But the javadoc reads:
public XMLReaderAdapter()
throws SAXException
Create a new adapter.
Use the "org.xml.sax.driver" property to locate
the SAX2 driver to embed.
Throws:
SAXException - If the embedded driver cannot be
instantiated or if the org.xml.sax.driver property is
not specified.
So SAXException should be thrown.
Could anyone clarify this issue?
Thanks.
Yevgeniy
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
List: [email protected]
See: http://www.saxproject.org
https://lists.sourceforge.net/lists/listinfo/sax-users