zorba-coders team mailing list archive
-
zorba-coders team
-
Mailing list archive
-
Message #00164
[Bug 857842] Re: Assertion failed with simple content element with comments
zorba::simplestore::TextNode::TextNode() at node_items.cpp:3,465 0x170ff53
zorba::simplestore::NodeFactory::createTextNode() at node_factory.cpp:140 0x17236c6
zorba::simplestore::BasicItemFactory::createTextNode() at simple_item_factory.cpp:1,626 0x1763e3a
zorba::Validator::processChildren() at validate.cpp:545 0x164da68
zorba::Validator::processElement() at validate.cpp:366 0x164d018
zorba::Validator::processChildren() at validate.cpp:482 0x164d78f
zorba::Validator::processElement() at validate.cpp:366 0x164d018
zorba::Validator::processChildren() at validate.cpp:482 0x164d78f
zorba::Validator::processElement() at validate.cpp:366 0x164d018
zorba::Validator::realValidationValue() at validate.cpp:264 0x164c8fc
zorba::Validator::effectiveValidationValue() at validate.cpp:77 0x164c036
zorba::ValidateIterator::nextImpl() at schema_impl.cpp:63 0x134277d
zorba::Batcher<zorba::ValidateIterator>::produceNext() at plan_iterator.h:531 0xdfce9f
zorba::PlanIterator::consumeNext() at plan_iterator.cpp:124 0x13f4667
zorba::PlanWrapper::next() at plan_wrapper.cpp:149 0x13f404e
zorba::serializer::serialize() at serializer.cpp:2,194 0xc3ce5b
zorba::serializer::serialize() at serializer.cpp:2,154 0xc3cb9c
zorba::XQueryImpl::serialize() at xqueryimpl.cpp:1,176 0xbe22f0
zorba::XQueryImpl::execute() at xqueryimpl.cpp:1,002 0xbe16fb
compileAndExecute() at zorbacmd.cpp:626 0x805a3d2
main() at zorbacmd.cpp:878 0x805b6bc
--
You received this bug notification because you are a member of Zorba
Coders, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/857842
Title:
Assertion failed with simple content element with comments
Status in Zorba - The XQuery Processor:
New
Bug description:
The following query causes an assertion failure at line 3465 in
node_items.cpp
import schema namespace s = "http://www.xqdoc.org/1.0";;
let $hostInfo :=<xqdoc xmlns="http://www.xqdoc.org/1.0";>
<control>
<date><?processinginstruction aaa?>TS4J<!-- -->5UJ</date>
<version>N/A</version>
</control>
<module type="library">
<uri>DGQEb8Q</uri>
</module>
</xqdoc>
return
validate { $hostInfo }
If i understand correctly the validator should construct only one text
child for <date> with value "TSF4J5UJ"
To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/857842/+subscriptions
References