[
http://jira.codehaus.org/browse/WSTX-105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tatu Saloranta closed WSTX-105.
-------------------------------
Included in 3.9.0 release.
> XMLStreamReader2 documentation out of synch with behavior in 3.2.0
> ------------------------------------------------------------------
>
> Key: WSTX-105
> URL:
http://jira.codehaus.org/browse/WSTX-105> Project: Woodstox
> Issue Type: Improvement
> Environment: Linux, JDK 1.6.0
> Reporter: Adam Constabaris
> Assignee: Tatu Saloranta
> Priority: Minor
>
> This is really about XMLStreamReader2 fromStax2 and its documentation, I guess, but I haven't done enough homework to make a definitive statement =)
> According to
>
http://woodstox.codehaus.org/3.2.0/javadoc/org/codehaus/stax2/XMLStreamReader2.html> XMLStreamReader2.setFeature(String, Object) is deprecated, and users are directed to use
> XMLStreamReader2.setProperty(String,Object) instead.
> Calling setProperty() with the only feature defined (FEATURE_DTD_OVERRIDE) leads to
> bq.java.lang.IllegalArgumentException: Unrecognized property 'org.codehaus.stax2.propDtdOverride' at com.ctc.wstx.api.CommonConfig.setProperty(CommonConfig.java:104)
> I'm not sure this is a bug as such, although the javadocs are currently in error. It appears to me that the options are:
> 1) remove the "DTD Ignore" feature (-1: It's useful to me)
> 2) it should work with setProperty() (+1: cleaner API)
> 3) setFeature() should be un-deprecated (+0)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email