[jira] Closed: (WSTX-105) XMLStreamReader2 documentation out of synch with behavior in 3.2.0

View: New views
1 Messages — Rating Filter:   Alert me  

[jira] Closed: (WSTX-105) XMLStreamReader2 documentation out of synch with behavior in 3.2.0

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ 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

LightInTheBox - Buy quality products at wholesale price!