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 "Alberto Massari (JIRA)" <xe...@xml.apache.org> on 2006/09/21 09:35:23 UTC
[jira] Closed: (XERCESC-1635) Xerces reports "Prefix: 'xxx' can not
be resolved to a URI" error when validating instance file which uses schema
that has namespace prefix defined
[ http://issues.apache.org/jira/browse/XERCESC-1635?page=all ]
Alberto Massari closed XERCESC-1635.
------------------------------------
Resolution: Duplicate
Duplicate of XERCESC-1592
> Xerces reports "Prefix: 'xxx' can not be resolved to a URI" error when validating instance file which uses schema that has namespace prefix defined
> ---------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: XERCESC-1635
> URL: http://issues.apache.org/jira/browse/XERCESC-1635
> Project: Xerces-C++
> Issue Type: Bug
> Components: Validating Parser (Schema) (Xerces 1.5 or up only)
> Affects Versions: 2.6.0
> Environment: Windows xp/2003
> Reporter: Tony Wnag
> Priority: Critical
> Attachments: nserror.xsd, nserrordata.xml
>
>
> In the attached schema nserror.xsd the RootElement is defined as " <xs:element name="RootElem" type="myns:TestTypeB" xmlns:myns="MyNamespace"/>", nserror.xsd can pass validation, but if validate instance file "nserrordata.xml" with command "PParse -n -s nserrordata.xml", it reports error: Message: Prefix: 'myns' can not be resolved to a URI.
--
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org