zorba-coders team mailing list archive
-
zorba-coders team
-
Mailing list archive
-
Message #00160
[Bug 857842] Re: Assertion failed with simple content element with comments
2005: Test command: /zorba/build/markos/test/rbkt/testdriver "zorba/misc/validate2.xq"
2005: Test timeout computed to be: 1500
2005: test zorba/misc/validate2
2005: === Query: ===
2005:
2005: import schema namespace s = "http://www.xqdoc.org/1.0";;
2005:
2005: let $hostInfo :=<xqdoc xmlns="http://www.xqdoc.org/1.0";>
2005: <control>
2005: <date><?processinginstruction aaa?>TS4J<!-- -->5UJ</date>
2005: <version>N/A</version>
2005: </control>
2005: <module type="library">
2005: <uri>DGQEb8Q</uri>
2005: </module>
2005: </xqdoc>
2005:
2005: return
2005: validate { $hostInfo }
2005:
2005: === end of Query ===
2005: /zorba/build/markos/src/libzorba_simplestore.so.2.0.1(+0xe62a03) [0x141ea03]
2005: /zorba/build/markos/src/libzorba_simplestore.so.2.0.1(_ZN5zorba16assertion_failedEPKcS1_i+0x22) [0x141eac6]
2005: /zorba/build/markos/src/libzorba_simplestore.so.2.0.1(_ZN5zorba11simplestore8TextNodeC2EPNS0_12InternalNodeERNS_5store10ItemHandleINS4_4ItemEEEb+0x1d6) [0x1b9cf68]
2005: /zorba/build/markos/src/libzorba_simplestore.so.2.0.1(_ZN5zorba11simplestore11NodeFactory14createTextNodeEPNS0_12InternalNodeERNS_5store10ItemHandleINS4_4ItemEEEb+0x48) [0x1bb061e]
2005: /zorba/build/markos/src/libzorba_simplestore.so.2.0.1(_ZN5zorba11simplestore16BasicItemFactory14createTextNodeERNS_5store10ItemHandleINS2_4ItemEEEPS4_S6_+0x78) [0x1bf0d92]
2005: /zorba/build/markos/src/libzorba_simplestore.so.2.0.1(_ZN5zorba9Validator15processChildrenEPKNS_14static_contextEPNS_11TypeManagerERNS_20EventSchemaValidatorEPNS_5store4ItemENS_8rchandleINS8_8IteratorEEERKNS_8QueryLocE+0x37e) [0x1adaa68]
2005: /zorba/build/markos/src/libzorba_simplestore.so.2.0.1(_ZN5zorba9Validator14processElementEPKNS_14static_contextEPNS_11TypeManagerERNS_20EventSchemaValidatorEPNS_5store4ItemERKNS8_10ItemHandleIS9_EERKNS_8QueryLocE+0x4a6) [0x1ada018]
2005: /zorba/build/markos/src/libzorba_simplestore.so.2.0.1(_ZN5zorba9Validator15processChildrenEPKNS_14static_contextEPNS_11TypeManagerERNS_20EventSchemaValidatorEPNS_5store4ItemENS_8rchandleINS8_8IteratorEEERKNS_8QueryLocE+0xa5) [0x1ada78f]
2005: /zorba/build/markos/src/libzorba_simplestore.so.2.0.1(_ZN5zorba9Validator14processElementEPKNS_14static_contextEPNS_11TypeManagerERNS_20EventSchemaValidatorEPNS_5store4ItemERKNS8_10ItemHandleIS9_EERKNS_8QueryLocE+0x4a6) [0x1ada018]
2005: /zorba/build/markos/src/libzorba_simplestore.so.2.0.1(_ZN5zorba9Validator15processChildrenEPKNS_14static_contextEPNS_11TypeManagerERNS_20EventSchemaValidatorEPNS_5store4ItemENS_8rchandleINS8_8IteratorEEERKNS_8QueryLocE+0xa5) [0x1ada78f]
2005: /zorba/build/markos/src/libzorba_simplestore.so.2.0.1(_ZN5zorba9Validator14processElementEPKNS_14static_contextEPNS_11TypeManagerERNS_20EventSchemaValidatorEPNS_5store4ItemERKNS8_10ItemHandleIS9_EERKNS_8QueryLocE+0x4a6) [0x1ada018]
2005: /zorba/build/markos/src/libzorba_simplestore.so.2.0.1(_ZN5zorba9Validator19realValidationValueERNS_5store10ItemHandleINS1_4ItemEEERKS4_S7_PNS_11TypeManagerENS_14ParseConstants17validation_mode_tEPKNS_14static_contextERKNS_8QueryLocE+0x7ea) [0x1ad98fc]
2005: /zorba/build/markos/src/libzorba_simplestore.so.2.0.1(_ZN5zorba9Validator24effectiveValidationValueERNS_5store10ItemHandleINS1_4ItemEEERKS4_S7_PNS_11TypeManagerENS_14ParseConstants17validation_mode_tEPKNS_14static_contextERKNS_8QueryLocE+0x48) [0x1ad9036]
2005: /zorba/build/markos/src/libzorba_simplestore.so.2.0.1(_ZNK5zorba16ValidateIterator8nextImplERNS_5store10ItemHandleINS1_4ItemEEERNS_9PlanStateE+0x1b1) [0x17cf77d]
2005: /zorba/build/markos/src/libzorba_simplestore.so.2.0.1(_ZNK5zorba7BatcherINS_16ValidateIteratorEE11produceNextERNS_5store10ItemHandleINS3_4ItemEEERNS_9PlanStateE+0x9f) [0x1289e9f]
2005: /zorba/build/markos/src/libzorba_simplestore.so.2.0.1(_ZN5zorba12PlanIterator11consumeNextERNS_5store10ItemHandleINS1_4ItemEEEPKS0_RNS_9PlanStateE+0x79) [0x1881667]
2005: /zorba/build/markos/src/libzorba_simplestore.so.2.0.1(_ZN5zorba11PlanWrapper4nextERNS_5store10ItemHandleINS1_4ItemEEE+0xa0) [0x188104e]
2005: /zorba/build/markos/src/libzorba_simplestore.so.2.0.1(_ZN5zorba10serializer9serializeENS_8rchandleINS_5store8IteratorEEERSoPNS_19SAX2_ContentHandlerE+0x295) [0x10c9e5b]
2005: /zorba/build/markos/src/libzorba_simplestore.so.2.0.1(_ZN5zorba10serializer9serializeENS_8rchandleINS_5store8IteratorEEERSo+0x46) [0x10c9b9c]
2005: /zorba/build/markos/src/libzorba_simplestore.so.2.0.1(_ZN5zorba10XQueryImpl9serializeERSoRNS_8rchandleINS_11PlanWrapperEEEPK23Zorba_SerializerOptions+0x9c) [0x106f2f0]
2005: /zorba/build/markos/src/libzorba_simplestore.so.2.0.1(_ZN5zorba10XQueryImpl7executeERSoPK23Zorba_SerializerOptions+0xcd) [0x106e6fb]
2005: /zorba/build/markos/test/rbkt/testdriver(main+0x1a70) [0x806379a]
2005: /lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x4867e37]
2005: /zorba/build/markos/test/rbkt/testdriver() [0x8061b01]
2005: Unexpected error executing query:
2005: http://www.zorba-xquery.com/errors:ZXQP0002: http://www.zorba-xquery.com/errors:ZXQP0002"false": assertion failed[line 15][column 3][file /zorba/repository/markos/test/rbkt/Queries/zorba/misc/validate2.xq]
2005: Expected error(s): (none)
1/1 Test #2005: test/rbkt/zorba/misc/validate2 ...***Failed 0.17 sec
--
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