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 "Bill Yan (JIRA)" <xe...@xml.apache.org> on 2007/08/07 12:23:59 UTC
[jira] Created: (XERCESC-1733) over-loaded namespace should work
correctly
over-loaded namespace should work correctly
-------------------------------------------
Key: XERCESC-1733
URL: https://issues.apache.org/jira/browse/XERCESC-1733
Project: Xerces-C++
Issue Type: Bug
Components: Validating Parser (Schema) (Xerces 1.5 or up only)
Affects Versions: 2.7.0
Environment: Wondows XP
Reporter: Bill Yan
Fix For: 2.7.0
Here is a schema file:
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ss="xxxxx">
<xs:element name="test2" type="ss:string" xmlns:ss="http://www.w3.org/2001/XMLSchema"></xs:element>
</xs:schema>
I think the schema file above should be valid, but when I use XercesDOMParser::loadGrammar() to check the validity of this schema file, the following error info is reported:
"Schema Representation Constraint: Namespace 'xxxxx' is referenced without <import> declaration - Line 3, Col 91"
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org
[jira] Resolved: (XERCESC-1733) over-loaded namespace should work
correctly
Posted by "Alberto Massari (JIRA)" <xe...@xml.apache.org>.
[ https://issues.apache.org/jira/browse/XERCESC-1733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alberto Massari resolved XERCESC-1733.
--------------------------------------
Resolution: Duplicate
Duplicate of XERCESC-1592
> over-loaded namespace should work correctly
> -------------------------------------------
>
> Key: XERCESC-1733
> URL: https://issues.apache.org/jira/browse/XERCESC-1733
> Project: Xerces-C++
> Issue Type: Bug
> Components: Validating Parser (Schema) (Xerces 1.5 or up only)
> Affects Versions: 2.7.0
> Environment: Wondows XP
> Reporter: Bill Yan
> Fix For: 2.7.0
>
>
> Here is a schema file:
> <?xml version="1.0" encoding="UTF-8"?>
> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ss="xxxxx">
> <xs:element name="test2" type="ss:string" xmlns:ss="http://www.w3.org/2001/XMLSchema"></xs:element>
> </xs:schema>
> I think the schema file above should be valid, but when I use XercesDOMParser::loadGrammar() to check the validity of this schema file, the following error info is reported:
> "Schema Representation Constraint: Namespace 'xxxxx' is referenced without <import> declaration - Line 3, Col 91"
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org