zorba-coders team mailing list archive
-
zorba-coders team
-
Mailing list archive
-
Message #04040
[Bug 912593] Re: Validate in-place causes Zorba Internal Fatal error if a node which might have a simple type contains other nodes
** Changed in: zorba
Assignee: Federico Cavalieri (fcavalieri) => (unassigned)
** Changed in: zorba
Assignee: (unassigned) => Cezar Andrei (cezar-andrei)
--
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/912593
Title:
Validate in-place causes Zorba Internal Fatal error if a node which
might have a simple type contains other nodes
Status in Zorba - The XQuery Processor:
New
Bug description:
The following query crashes zorba with an Internal fatal error.
Query
import schema namespace d="http://www.zorba-xquery.org/schema" at "upd14.xsd";
import module namespace schema = "http://www.zorba-xquery.com/modules/schema";
declare revalidation lax;
declare variable $doc:=<root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.zorba-xquery.org/schema">
<a/>
</root>;
schema:validate-in-place($doc);
Schema
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.zorba-xquery.org/schema" xmlns="http://www.zorba-xquery.org/schema"
elementFormDefault="qualified">
<xs:element name="root" type="xs:int"/>
</xs:schema>
To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/912593/+subscriptions
References