The following comment has been added to this issue:
Author: cargilld
Created: Fri, 1 Oct 2004 5:56 AM
Body:
Hi George,
I just tried it out using the latest source and got:
Error at file "d:\bugs\1282.xml", line 4, column 16
Message: Unknown element 'x:authors'
Error at file "d:\bugs\1282.xml", line 11, column 10
Message: Element 'x:authors' is not valid for content model:
'((author,title,genre,price,publish_date),description)'
BTW, The empty exception message you get with the file in 1276 (that has cat) is a
problem and I am working on fixing that.
David
---------------------------------------------------------------------
View this comment:
http://issues.apache.org/jira/browse/XERCESC-1282?page=comments#action_53583
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/XERCESC-1282
Here is an overview of the issue:
---------------------------------------------------------------------
Key: XERCESC-1282
Summary: DOMPrint Crash during schema validation
Type: Bug
Status: Unassigned
Priority: Major
Project: Xerces-C++
Components:
Validating Parser (Schema) (Xerces 1.5 or up only)
Versions:
2.5.0
Assignee:
Reporter: George Aggrey
Created: Thu, 30 Sep 2004 11:29 PM
Updated: Fri, 1 Oct 2004 5:56 AM
Environment: Windows XP - VC++ 6.0 SP5
Description:
This issue is related to ticket xercesc-1276. The original issue was that DOMPrint in
the 2.5.0 binary release crashed during schema validation. The latest build of 2.5.0
does not crash however it does not carry out any validation. The xml file:
<x:book xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:book sl.xsd"
xmlns:x="urn:book" id="bk101">
<x:authors>Gambardella, Matthew</x:authors>
<x:title>XML Developer's Guide</x:title>
<x:genre>Computer</x:genre>
<x:price>44.95</x:price>
<x:publish_date>2000-10-01</x:publish_date>
<x:description>An in-depth look at creating applications with
XML.</x:description>
</x:book>
schema file:
<?xml version="1.0"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:x="urn:book"
targetNamespace="urn:book"
elementFormDefault="qualified">
<!-- *** Add the following if attributes
are to be namespace prefixed ***
attributeFormDefault="qualified">
-->
<xsd:element name="book">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="author" type="xsd:string"/>
<xsd:element name="title" type="xsd:string"/>
<xsd:element name="genre" type="xsd:string"/>
<xsd:element name="price" type="xsd:float"/>
<xsd:element name="publish_date" type="xsd:date"/>
<xsd:element name="description" type="xsd:string"/>
</xsd:sequence>
<xsd:attribute name="id" type="xsd:string"/>
</xsd:complexType>
</xsd:element>
</xsd:schema>
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]