I am not certain how we avoid this problem in general but...

The default xml parser for jackson stax processing (woodsox) does not
handle namespaced attributes in a way the TRIX parser expects.  As far as I
can tell this is the only parser that has this problem.  I encountered
during development on a project and opened at ticket[1].  I found a
workaround was to explicitly declare the parser using `System.setProperty(
XMLInputFactory.class.getName(),
"com.sun.xml.internal.stream.XMLInputFactoryImpl" );` or similar.

The issue was rejected and closed by the woodsox author as being
incorrect.  I could find no STAX documentation to refute his position.  So
the issue will still exist for us.

Claude

[1] https://github.com/FasterXML/woodstox/issues/57


-- 
I like: Like Like - The likeliest place on the web
<http://like-like.xenei.com>
LinkedIn: http://www.linkedin.com/in/claudewarren

Reply via email to