TIBCOSoftware / genxdm

GenXDM: XQuery/XPath Data Model API, bridges, and processors for tree-model neutral access to XML.
http://www.genxdm.org/
9 stars 4 forks source link

Bridge implementations of FragmentBuilder should allow documents to have text node children #80

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The bridge implementations (Cx, DOM, Axiom) implementation of the 
FragmentBuilder have a bug in their text(String) methods.  They explicityly 
disallow non-empty text nodes to be added to document nodes, and that is wrong.

Original issue reported on code.google.com by joe.bays...@gmail.com on 6 Feb 2012 at 7:04

GoogleCodeExporter commented 9 years ago
Fixed in revision 306.  Modified DOM, Cx, and Axiom 
FragmentBuilder.text(String) implementations to permit non-empty text nodes to 
be added as children of a document node.

Original comment by joe.bays...@gmail.com on 6 Feb 2012 at 7:59