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 "Tony Wnag (JIRA)" <xe...@xml.apache.org> on 2006/09/21 04:44:22 UTC

[jira] Created: (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

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

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


[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

Posted by "Alberto Massari (JIRA)" <xe...@xml.apache.org>.
     [ 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


[jira] Updated: (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

Posted by "Tony Wnag (JIRA)" <xe...@xml.apache.org>.
     [ http://issues.apache.org/jira/browse/XERCESC-1635?page=all ]

Tony Wnag updated XERCESC-1635:
-------------------------------

    Attachment: nserror.xsd

The schema uses namespace prefix.

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


[jira] Updated: (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

Posted by "Tony Wnag (JIRA)" <xe...@xml.apache.org>.
     [ http://issues.apache.org/jira/browse/XERCESC-1635?page=all ]

Tony Wnag updated XERCESC-1635:
-------------------------------

    Attachment: nserrordata.xml

instance file

> 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