You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Christian Will (JIRA)" <xe...@xml.apache.org> on 2005/03/09 00:27:54 UTC
[jira] Updated: (XERCESC-1345) Validating correct xml fails after validating invalid one.
[ http://issues.apache.org/jira/browse/XERCESC-1345?page=history ]
Christian Will updated XERCESC-1345:
------------------------------------
Attachment: IGXMLScanner2.cpp.patch
fixpatch...
> Validating correct xml fails after validating invalid one.
> ----------------------------------------------------------
>
> Key: XERCESC-1345
> URL: http://issues.apache.org/jira/browse/XERCESC-1345
> Project: Xerces-C++
> Type: Bug
> Components: Validating Parser (Schema) (Xerces 1.5 or up only)
> Versions: 2.5.0
> Environment: Linux
> Reporter: mind
> Priority: Critical
> Attachments: IGXMLScanner2.cpp.patch, bug.tar.gz
>
> I do following:
> 1. create saxparser and set caching grammars
> 2. load schema >3<
> 3. validate >1< => valid
> 4. validate >2< => invalid
> 5. validate >1< => invalid (WRONG !!!)
> >1<
> <?xml version="1.0"?>
> <content xmlns="http://mind.p4.com/mytest"/>
> >2<
> <?xml version="1.0"?>
> <content></content>
> >3<
> <?xml version="1.0"?>
> <xs:schema elementFormDefault="qualified" targetNamespace="http://mind.p4.com/mytest" xmlns="http://mind.p4.com/mytest" xmlns:xs="http://www.w3.org/2001/XMLSchema">
> <xs:element name="content" type="xs:anyType"/>
> </xs:schema>
--
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: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org