[ http://issues.apache.org/jira/browse/XERCESC-1324?page=history ]

Tom Browder updated XERCESC-1324:
---------------------------------

    Attachment: tgmtest.xsd
                tgmtest.xml

The attached files are the schema and instance files used to show the 
validation failure.

> Xercex C++ 2.6.0. sample program PSVIWriter fails to validate a valid W3C XML 
> schema and instance.
> --------------------------------------------------------------------------------------------------
>
>          Key: XERCESC-1324
>          URL: http://issues.apache.org/jira/browse/XERCESC-1324
>      Project: Xerces-C++
>         Type: Bug
>   Components: Validating Parser (Schema) (Xerces 1.5 or up only)
>     Versions: 2.6.0
>  Environment: Linux Fedora Core 2 (i386 pentium III), Xerces C++
>     Reporter: Tom Browder
>  Attachments: tgmtest.xml, tgmtest.xsd
>
> The file 'tgmtest.xml' fails to validate against 'tgmtest.xsd' the sample
> program from xerces c++ (2.6.0):
> % PSVIWriter -f -o=stdout -e=stderr tgmtest.xml
> % head -2 stderr
> Error at file /disk2/local2/src/xerces-c-src_2_6_0/bin/tgmtest.xsd, \
>   Line 94, Char 43
> Message:The type 'xs:anyType' specified as the base in the simpleContent\
>   element must not have complexContent
> But running the same set against xmllint (from version 20608) works:
> % xmllint --schema tgmtest.xsd tgmtest.xml > t
> tgmtest.xml validates
> A similar bug was found in the jira bug database: XERCESC-697.

-- 
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]

Reply via email to