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 "Alain Le Guennec (JIRA)" <xe...@xml.apache.org> on 2005/11/10 17:59:03 UTC
[jira] Created: (XERCESC-1524) Xerces fails to validate a valid XML document when the schema contains "forward references" to element-types in certain circumstances.
Xerces fails to validate a valid XML document when the schema contains "forward references" to element-types in certain circumstances.
--------------------------------------------------------------------------------------------------------------------------------------
Key: XERCESC-1524
URL: http://issues.apache.org/jira/browse/XERCESC-1524
Project: Xerces-C++
Type: Bug
Components: Validating Parser (Schema) (Xerces 1.5 or up only)
Versions: 2.7.0
Environment: msvc6 / win2k
Reporter: Alain Le Guennec
When running "sax2print BugValidationSchema.xml" (xml file attached), I get the following error:
Message: Attribute 'attr2' is not declared for element 'Level4'
The schema (also attached) simply contains 4 element/element-types declarations
('Level1', 'Level2', 'Level3' and 'Level4', forming an extension chain).
Attribute 'attr2' is declared within 'Level2', and so should be legal within Level4 too.
'Level2' also contains a sub-element declaration of type 'Level4'.
It turns out that commenting out that sub-element declaration renders the xml file valid.
--
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] Resolved: (XERCESC-1524) Xerces fails to validate a valid
XML document when the schema contains "forward references" to element-types
in certain circumstances.
Posted by "Boris Kolpackov (JIRA)" <xe...@xml.apache.org>.
[ https://issues.apache.org/jira/browse/XERCESC-1524?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Boris Kolpackov resolved XERCESC-1524.
--------------------------------------
Resolution: Fixed
Fix Version/s: 2.8.0
Appears to be fixed in 2.8.0 and trunk (3.0.0).
> Xerces fails to validate a valid XML document when the schema contains "forward references" to element-types in certain circumstances.
> --------------------------------------------------------------------------------------------------------------------------------------
>
> Key: XERCESC-1524
> URL: https://issues.apache.org/jira/browse/XERCESC-1524
> Project: Xerces-C++
> Issue Type: Bug
> Components: Validating Parser (Schema) (Xerces 1.5 or up only)
> Affects Versions: 2.7.0
> Environment: msvc6 / win2k
> Reporter: Alain Le Guennec
> Fix For: 2.8.0
>
> Attachments: BugValidationSchema.xml, BugValidationSchema.xsd
>
>
> When running "sax2print BugValidationSchema.xml" (xml file attached), I get the following error:
> Message: Attribute 'attr2' is not declared for element 'Level4'
> The schema (also attached) simply contains 4 element/element-types declarations
> ('Level1', 'Level2', 'Level3' and 'Level4', forming an extension chain).
> Attribute 'attr2' is declared within 'Level2', and so should be legal within Level4 too.
> 'Level2' also contains a sub-element declaration of type 'Level4'.
> It turns out that commenting out that sub-element declaration renders the xml file valid.
--
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] Closed: (XERCESC-1524) Xerces fails to validate a valid XML
document when the schema contains "forward references" to element-types in
certain circumstances.
Posted by "Boris Kolpackov (JIRA)" <xe...@xml.apache.org>.
[ https://issues.apache.org/jira/browse/XERCESC-1524?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Boris Kolpackov closed XERCESC-1524.
------------------------------------
> Xerces fails to validate a valid XML document when the schema contains "forward references" to element-types in certain circumstances.
> --------------------------------------------------------------------------------------------------------------------------------------
>
> Key: XERCESC-1524
> URL: https://issues.apache.org/jira/browse/XERCESC-1524
> Project: Xerces-C++
> Issue Type: Bug
> Components: Validating Parser (Schema) (Xerces 1.5 or up only)
> Affects Versions: 2.7.0
> Environment: msvc6 / win2k
> Reporter: Alain Le Guennec
> Fix For: 2.8.0
>
> Attachments: BugValidationSchema.xml, BugValidationSchema.xsd
>
>
> When running "sax2print BugValidationSchema.xml" (xml file attached), I get the following error:
> Message: Attribute 'attr2' is not declared for element 'Level4'
> The schema (also attached) simply contains 4 element/element-types declarations
> ('Level1', 'Level2', 'Level3' and 'Level4', forming an extension chain).
> Attribute 'attr2' is declared within 'Level2', and so should be legal within Level4 too.
> 'Level2' also contains a sub-element declaration of type 'Level4'.
> It turns out that commenting out that sub-element declaration renders the xml file valid.
--
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] Updated: (XERCESC-1524) Xerces fails to validate a valid XML document when the schema contains "forward references" to element-types in certain circumstances.
Posted by "Alain Le Guennec (JIRA)" <xe...@xml.apache.org>.
[ http://issues.apache.org/jira/browse/XERCESC-1524?page=all ]
Alain Le Guennec updated XERCESC-1524:
--------------------------------------
Attachment: BugValidationSchema.xml
BugValidationSchema.xsd
> Xerces fails to validate a valid XML document when the schema contains "forward references" to element-types in certain circumstances.
> --------------------------------------------------------------------------------------------------------------------------------------
>
> Key: XERCESC-1524
> URL: http://issues.apache.org/jira/browse/XERCESC-1524
> Project: Xerces-C++
> Type: Bug
> Components: Validating Parser (Schema) (Xerces 1.5 or up only)
> Versions: 2.7.0
> Environment: msvc6 / win2k
> Reporter: Alain Le Guennec
> Attachments: BugValidationSchema.xml, BugValidationSchema.xsd
>
> When running "sax2print BugValidationSchema.xml" (xml file attached), I get the following error:
> Message: Attribute 'attr2' is not declared for element 'Level4'
> The schema (also attached) simply contains 4 element/element-types declarations
> ('Level1', 'Level2', 'Level3' and 'Level4', forming an extension chain).
> Attribute 'attr2' is declared within 'Level2', and so should be legal within Level4 too.
> 'Level2' also contains a sub-element declaration of type 'Level4'.
> It turns out that commenting out that sub-element declaration renders the xml file valid.
--
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