Comments (4)
This is happening in both commit 1d7affd and version 4.4.1.
from woodstox.
If I understand you description correctly, behavior is as expected. There is no way to reliably consider a sequence of whitespace characters to be definitely ignorable whitespace (logical event) without schema information. It may just happen to be white space, but could be regular text segment. This determination depends solely on schema declaration, whether there is cdata expected, or not -- it's ignorable white space only in latter case (and if there was some other character data this would be validity violation).
So the code works as intended unless I am missing something.
from woodstox.
Fair enough. Seems the issue is un cxf then. Already sent a pr for that. Thanks for the input!
from woodstox.
@elrodro83 No problem: this is a confusing aspect and earlier handling (woodstox 1.x or 2.x) may have differed. Stax specification is sometimes vague or mum about some aspects as well,.
But use of SPACE vs CHARACTERS now is based on my best understanding of the specs, javadocs and such.
from woodstox.
Related Issues (20)
- After update to 6.5.0, in osgi/felix runtime the bundle is not started due to missing dependency HOT 4
- failed to parse xml: Unrecognized property `'com.ctc.wstx.maxEntityCount'` in `woodstox:6.5` HOT 2
- Vulnerability CVE-2023-34411 HOT 3
- W3CMultiSchemaFactory class needs extended to allow for custom resolving of XSD's locations HOT 2
- Woodstox should provide option to leave predefined entities i.e. "<", ">", "'", """ and "&" as it is HOT 2
- Not able to write xml to azure blob storage HOT 1
- WstxValidationException: Unknown reason (at end element </nl:nillableIntElement>) when validating a document with nillable elements HOT 14
- Update `msv-core` dependency to `2022.7`
- Notations declared in external DTD subsets are reported as undefined HOT 6
- 'Undefined ID' not thrown when validating with SimpleNsStreamWriter HOT 1
- 'Element <root> has no attribute "verbose"' not thrown from RepairingNsStreamWriter when validating against a DTD schema HOT 1
- Module `com.ctc.wstx` does not read a module that exports `com.ctc.wstx.shaded.msv.org_isorelax.verifier` HOT 6
- Remove `QNameCreator` compatibility class
- WstxSAXParser error handling when used with JAXB validation HOT 7
- Version 6.6.0 contains a module error (dup of #193 ?) HOT 3
- Fix shading of `isorelax` dependency (and other msv-core components) HOT 12
- Invalid characters inside CDATA section HOT 5
- remove synchronized blocks HOT 1
- Non-conformant `XMLEventFactory.setLocation(null)` HOT 1
- Why is the maximum character count for parsing limited to 4000 each time? Can't it support the caller to customize this setting? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from woodstox.