[ 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to