Code Monkey home page Code Monkey logo

Comments (4)

elrodro83 avatar elrodro83 commented on May 30, 2024

This is happening in both commit 1d7affd and version 4.4.1.

from woodstox.

cowtowncoder avatar cowtowncoder commented on May 30, 2024

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.

elrodro83 avatar elrodro83 commented on May 30, 2024

Fair enough. Seems the issue is un cxf then. Already sent a pr for that. Thanks for the input!

from woodstox.

cowtowncoder avatar cowtowncoder commented on May 30, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.