W3C home > Mailing lists > Public > xmlschema-dev@w3.org > April 2003

XSV crashed with the attached schema document

From: Stanley Guan <stanley.guan@oracle.com>
Date: Mon, 21 Apr 2003 10:58:20 -0700
Message-ID: <07ec01c3082f$983919f0$c5b42382@us.oracle.com>
To: <xmlschema-dev@w3.org>
Cc: "Henry S. Thompson" <ht@cogsci.ed.ac.uk>

<xsv crash='true' docElt='{None}root' instanceAssessed='true'
instanceErrors='0'
 rootType='{None}:fooType' schemaDocs='tlsx153.xsd' schemaErrors='0'
schemaLocs=
'None -> tlsx153.xsd' target='file:/F:/Xsv/tlsx153.xml' validation='strict'
vers
ion='XSV 1.203.2.45/1.106.2.22 of 2002/01/11 16:40:28'
xmlns='http://www.w3.org/
2000/05/xsv'>
<schemaDocAttempt URI='file:/F:/Xsv/tlsx153.xsd' outcome='success'
source='comma
nd line'/>
<schemaDocAttempt URI='file:/F:/Xsv/tlsx153.xsd' outcome='redundant'
source='sch
emaLoc'/>
<bug>validator crash during validation</bug>
</xsv>
Traceback (most recent call last):
  File "<string>", line 1339, in ?
__main__.SchemaValidationError: Traceback (most recent call last):
  File "<string>", line 829, in runit
  File "<string>", line 45, in validate
  File "<string>", line 131, in validateElement
  File "<string>", line 183, in validateElementSimple
  File "<string>", line 376, in validateTextModel
  File "<string>", line 1050, in validateText
  File "d:\work\XMLinter\nschema\XMLSchema.py", line 1678, in __getattr__
AttributeError: validateText

============================================================


<?xml version="1.0"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
        <xsd:element name="root" type="fooType"/>
 <xsd:complexType name="myType">
  <xsd:simpleContent>
   <xsd:extension base="xsd:integer"/>
  </xsd:simpleContent>
 </xsd:complexType>
 <xsd:simpleType name="fooType">
  <xsd:union memberTypes="myType"/>
 </xsd:simpleType>
</xsd:schema>

<?xml version="1.0"?>
<root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:noNamespaceSchemaLocation="tlsx153.xsd">
123</root>
Received on Monday, 21 April 2003 14:05:25 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:36 GMT