woodstox
woodstox copied to clipboard
The gold standard Stax XML API implementation. Now at Github.
Hello, I'm contributing to the Apache Camel project where we use woodstox as the preferred Stax implementation. In particular we rely on XMLStreamReader.getLocation().getCharacterOffset() and the fact that it returns the...
Validation fails with the error below when a NOTATION that is declared in an external DTD subset is referenced in an internal DTD subset: ``` om.ctc.wstx.exc.WstxValidationException: 1 referenced notation undefined:...
fix #179 fix #190
The same scenario is passing for `ValidatingStreamReader` in the following test: https://github.com/FasterXML/woodstox/blob/5ba99cd1efde98280700469f6392f7341fce3eb3/src/test/java/wstxtest/vstream/TestInvalidAttributeValue.java#L21-L56 When the test is adapted for `SimpleNsStreamWriter` it still works. But when the test is adapted for `RepairingNsStreamWriter`...
There is a test validating the same scenario on the reader side in `wstxtest.msv.TestW3CSchema.testSimpleNonNsUndefinedId()`: https://github.com/FasterXML/woodstox/blob/b853557398f8242808cd415098360ce602c46042/src/test/java/wstxtest/msv/TestW3CSchema.java#L143-L151 There the validation exception containg `Undefined ID 'm3'` is thrown properly. When the same test...
This issue occurs when CXF is validating an incoming SOAP message against W3CSchema and the message contains a an `xs:dateTime` or `xs:int` elements having `xsi:nil="true"`: ``` 2023-10-28 22:40:16,639 WARN [org.apa.cxf.pha.PhaseInterceptorChain]...
Pull request for Issue #175.. Dependent on Issue \#7 on the [MSV project](https://github.com/xmlark/msv/issues/7) being approved and code accepted. New JUnit w/supporting files included. Note: pom file change should not be...
Projects requiring external multiple XSDs with the same schemaLocation in the import, require a means to resolve the local XSD within the applications file jar or file structure. This becomes...
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]`
The Woodstox `XMLEventFactory` implementation produces `XMLEvent`s with a `null` location, while `XMLEvent.location` should never be `null`. [**XMLEvent.getLocation()**](https://docs.oracle.com/en/java/javase/21/docs/api/java.xml/javax/xml/stream/events/XMLEvent.html#getLocation%28%29): > Return the location of this event. The Location returned from this method...