[Zorba-coders] [Bug 854688] Re: Segmentation fault in validated nodes

2011-09-20 Thread Gabriel Petrovay
** Attachment added: to reproduce https://bugs.launchpad.net/bugs/854688/+attachment/2431169/+files/mm.xq ** Changed in: zorba Importance: Undecided = High -- You received this bug notification because you are a member of Zorba Coders, which is subscribed to the bug report.

[Zorba-coders] [Bug 854688] [NEW] Segmentation fault in validated nodes

2011-09-20 Thread Gabriel Petrovay
*** This bug is a security vulnerability *** Private security bug reported: d:\mm.xq:14,3: Zorba error [zerr:ZXQP0002]: p-numChildren() == 0: assertion failed; raised at zorba\src\store\naive\node_items.cpp:3398 This is in the constructor of a TextNode. Another way to look on the problem is

[Zorba-coders] [Bug 854688] Re: Segmentation fault in validated nodes

2011-09-20 Thread Federico Cavalieri
Yes Gabriel, processing instruction cause the same/a very similar problem, since the same assumption is not correct: import schema namespace s = http://www.xqdoc.org/1.0;; let $hostInfo :=xqdoc xmlns=http://www.xqdoc.org/1.0; control date?processinginstruction aaa?TS4J5UJ/date

[Zorba-coders] [Bug 854723] Re: Internal Fatal Error with validate-in-place

2011-09-20 Thread Federico Cavalieri
** Attachment added: to reproduce https://bugs.launchpad.net/bugs/854723/+attachment/2431367/+files/testseg.xq -- 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/854723 Title: Internal Fatal

[Zorba-coders] [Bug 854723] [NEW] Internal Fatal Error with validate-in-place

2011-09-20 Thread Federico Cavalieri
*** This bug is a security vulnerability *** Private security bug reported: This bug is due to the same incorrect assumption reported in bug 854688. Invoking schema:validate-in-place creates several UpdSetElementType operations. Their apply method expects that if a node has a typedvalue it

[Zorba-coders] [Bug 854723] Re: Internal Fatal Error with validate-in-place

2011-09-20 Thread Federico Cavalieri
import schema namespace s = http://www.xqdoc.org/1.0;; import module namespace schema = http://www.zorba-xquery.com/modules/schema;; variable $hostInfo :=xqdoc xmlns=http://www.xqdoc.org/1.0; control dateTS4J5UJ?processinginstruction aaa?/date versionN/A/version /control

[Zorba-coders] [Bug 854723] Re: Internal Fatal Error with validate-in-place

2011-09-20 Thread Federico Cavalieri
The following expression raises a similar error, due to the same assumption: import schema namespace s = http://www.xqdoc.org/1.0;; import module namespace schema = http://www.zorba-xquery.com/modules/schema;; variable $hostInfo :=xqdoc xmlns=http://www.xqdoc.org/1.0; control

[Zorba-coders] [Bug 854723] Re: Internal Fatal Error with validate-in-place

2011-09-20 Thread Federico Cavalieri
** Changed in: zorba Importance: Undecided = High -- 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/854723 Title: Internal Fatal Error with validate-in-place Status in Zorba - The XQuery

[Zorba-coders] [Bug 854723] Re: Internal Fatal Error with validate-in-place

2011-09-20 Thread Federico Cavalieri
** Visibility changed to: Public -- 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/854723 Title: Internal Fatal Error with validate-in-place Status in Zorba - The XQuery Processor: New Bug

[Zorba-coders] [Merge] lp:~ceejatec/zorba/example-feature into lp:zorba

2011-09-20 Thread Chris Hillery
Chris Hillery has proposed merging lp:~ceejatec/zorba/example-feature into lp:zorba. Requested reviews: Zorba Coders (zorba-coders) For more details, see: https://code.launchpad.net/~ceejatec/zorba/example-feature/+merge/76306 --

Re: [Zorba-coders] [Merge] lp:~ceejatec/zorba/example-feature into lp:zorba

2011-09-20 Thread Gabriel Petrovay
Review: Approve I don't like the formatting but I approve! -- https://code.launchpad.net/~ceejatec/zorba/example-feature/+merge/76306 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net