Public bug reported:

The following query causes a segfault:

import module namespace x = "http://www.zorba-xquery.com/modules/xml";;

x:parse-xml-fragment("<?xml version='1.0'?>
<!DOCTYPE note [
<!ELEMENT note (#PCDATA)>
<!ATTLIST note nmt NMTOKENS #REQUIRED>
]>
<note nmt='aaa'/>
", 
"d")

** Affects: zorba
     Importance: High
     Assignee: Federico Cavalieri (fcavalieri)
         Status: New

** Changed in: zorba
     Assignee: (unassigned) => Federico Cavalieri (fcavalieri)

** Changed in: zorba
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/872697

Title:
  Segmentation fault with in validation of NMTOKENS

Status in Zorba - The XQuery Processor:
  New

Bug description:
  The following query causes a segfault:

  import module namespace x = "http://www.zorba-xquery.com/modules/xml";;

  x:parse-xml-fragment("<?xml version='1.0'?>
  <!DOCTYPE note [
  <!ELEMENT note (#PCDATA)>
  <!ATTLIST note nmt NMTOKENS #REQUIRED>
  ]>
  <note nmt='aaa'/>
  ", 
  "d")

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/872697/+subscriptions

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to     : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp

Reply via email to