FasterXML / woodstox

The gold standard Stax XML API implementation. Now at Github.
Apache License 2.0
220 stars 81 forks source link

Add support for XMLConstants.ACCESS_EXTERNAL_DTD #162

Open saurav1910 opened 1 year ago

saurav1910 commented 1 year ago

For FEATURE_SECURE_PROCESSING support was added in https://github.com/FasterXML/woodstox/issues/61 Getting Unrecognized property 'http://javax.xml.XMLConstants/property/accessExternalDTD'

java.lang.IllegalArgumentException: Unrecognized property 'http://javax.xml.XMLConstants/property/accessExternalDTD' at com.ctc.wstx.api.CommonConfig.reportUnknownProperty(CommonConfig.java:167) ~[woodstox-core-6.4.0.jar:6.4.0]

gargvasu96 commented 1 year ago

Did You find any resolution for this issue? I am facing the same.

cowtowncoder commented 1 year ago

Not yet supported: if someone has time and interest, coming up with a patch might not be difficult -- just need to see exactly what are the semantics of this property and which of existing Woodstox config setting would work for it, if any.