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 "Boris Kolpackov (JIRA)" <xe...@xml.apache.org> on 2007/09/06 09:28:32 UTC

[jira] Created: (XERCESC-1745) Inheritance by restriction does not detect a missing type from an imported schema

Inheritance by restriction does not detect a missing type from an imported schema
---------------------------------------------------------------------------------

                 Key: XERCESC-1745
                 URL: https://issues.apache.org/jira/browse/XERCESC-1745
             Project: Xerces-C++
          Issue Type: Bug
          Components: Validating Parser (Schema) (Xerces 1.5 or up only)
    Affects Versions: 2.7.0
         Environment: any
            Reporter: Boris Kolpackov
            Priority: Blocker
         Attachments: a.xsd, b.xml, b.xsd

If you run the attached XML (with two schemas) throught DOMCount with validation enabled, you will get no errors even thought the B type in b.xsd inherits from a:A which does not exist. See comments in b.xsd for various interesting ways to change the schema in order to get different behavior.

This problem is present in both 2.7.0 and 2.8.0 and probably in the trunk.



-- 
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-1745) Inheritance by restriction does not detect a missing type from an imported schema

Posted by "Alberto Massari (JIRA)" <xe...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XERCESC-1745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alberto Massari resolved XERCESC-1745.
--------------------------------------

    Resolution: Fixed
      Assignee: Alberto Massari

Fix is in SVN

> Inheritance by restriction does not detect a missing type from an imported schema
> ---------------------------------------------------------------------------------
>
>                 Key: XERCESC-1745
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1745
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: Validating Parser (XML Schema)
>    Affects Versions: 2.7.0
>         Environment: any
>            Reporter: Boris Kolpackov
>            Assignee: Alberto Massari
>             Fix For: 3.0.0, 2.9.0
>
>         Attachments: a.xsd, b.xml, b.xsd
>
>
> If you run the attached XML (with two schemas) throught DOMCount with validation enabled, you will get no errors even thought the B type in b.xsd inherits from a:A which does not exist. See comments in b.xsd for various interesting ways to change the schema in order to get different behavior.
> This problem is present in both 2.7.0 and 2.8.0 and probably in the trunk.

-- 
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-1745) Inheritance by restriction does not detect a missing type from an imported schema

Posted by "Boris Kolpackov (JIRA)" <xe...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XERCESC-1745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Boris Kolpackov updated XERCESC-1745:
-------------------------------------

    Attachment: b.xml
                b.xsd
                a.xsd

The test case.

> Inheritance by restriction does not detect a missing type from an imported schema
> ---------------------------------------------------------------------------------
>
>                 Key: XERCESC-1745
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1745
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: Validating Parser (Schema) (Xerces 1.5 or up only)
>    Affects Versions: 2.7.0
>         Environment: any
>            Reporter: Boris Kolpackov
>            Priority: Blocker
>         Attachments: a.xsd, b.xml, b.xsd
>
>
> If you run the attached XML (with two schemas) throught DOMCount with validation enabled, you will get no errors even thought the B type in b.xsd inherits from a:A which does not exist. See comments in b.xsd for various interesting ways to change the schema in order to get different behavior.
> This problem is present in both 2.7.0 and 2.8.0 and probably in the trunk.

-- 
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-1745) Inheritance by restriction does not detect a missing type from an imported schema

Posted by "Boris Kolpackov (JIRA)" <xe...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XERCESC-1745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Boris Kolpackov updated XERCESC-1745:
-------------------------------------

    Fix Version/s: 2.9.0
                   3.0.0

Would be good to fix for 3.0.0, 2.9.0.

> Inheritance by restriction does not detect a missing type from an imported schema
> ---------------------------------------------------------------------------------
>
>                 Key: XERCESC-1745
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1745
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: Validating Parser (Schema) (Xerces 1.5 or up only)
>    Affects Versions: 2.7.0
>         Environment: any
>            Reporter: Boris Kolpackov
>            Priority: Blocker
>             Fix For: 3.0.0, 2.9.0
>
>         Attachments: a.xsd, b.xml, b.xsd
>
>
> If you run the attached XML (with two schemas) throught DOMCount with validation enabled, you will get no errors even thought the B type in b.xsd inherits from a:A which does not exist. See comments in b.xsd for various interesting ways to change the schema in order to get different behavior.
> This problem is present in both 2.7.0 and 2.8.0 and probably in the trunk.

-- 
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-1745) Inheritance by restriction does not detect a missing type from an imported schema

Posted by "Boris Kolpackov (JIRA)" <xe...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XERCESC-1745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Boris Kolpackov updated XERCESC-1745:
-------------------------------------

    Priority: Major  (was: Blocker)

> Inheritance by restriction does not detect a missing type from an imported schema
> ---------------------------------------------------------------------------------
>
>                 Key: XERCESC-1745
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1745
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: Validating Parser (XML Schema)
>    Affects Versions: 2.7.0
>         Environment: any
>            Reporter: Boris Kolpackov
>             Fix For: 3.0.0, 2.9.0
>
>         Attachments: a.xsd, b.xml, b.xsd
>
>
> If you run the attached XML (with two schemas) throught DOMCount with validation enabled, you will get no errors even thought the B type in b.xsd inherits from a:A which does not exist. See comments in b.xsd for various interesting ways to change the schema in order to get different behavior.
> This problem is present in both 2.7.0 and 2.8.0 and probably in the trunk.

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