You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by "Hiranya Jayathilaka (JIRA)" <xe...@xml.apache.org> on 2008/11/26 13:00:48 UTC

[jira] Created: (XERCESJ-1341) Implement xsd:override Support

Implement xsd:override Support
------------------------------

                 Key: XERCESJ-1341
                 URL: https://issues.apache.org/jira/browse/XERCESJ-1341
             Project: Xerces2-J
          Issue Type: New Feature
          Components: XML Schema 1.1 Structures
    Affects Versions: 2.9.1
         Environment: Any
            Reporter: Hiranya Jayathilaka


xsd:override support enables schema authors to 'override' source definitions in other schema documents.

-- 
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: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org


[jira] Updated: (XERCESJ-1341) Implement xsd:override Support

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

Hiranya Jayathilaka updated XERCESJ-1341:
-----------------------------------------

    Attachment: override-sample.zip

The attached archive contains xsd and xml files that demonstrate overriding a type definition as well as an entire element definition.

> Implement xsd:override Support
> ------------------------------
>
>                 Key: XERCESJ-1341
>                 URL: https://issues.apache.org/jira/browse/XERCESJ-1341
>             Project: Xerces2-J
>          Issue Type: New Feature
>          Components: XML Schema 1.1 Structures
>    Affects Versions: 2.9.1
>         Environment: Any
>            Reporter: Hiranya Jayathilaka
>         Attachments: override-sample.zip, override-update1.patch, override.patch, type-override.zip
>
>
> xsd:override support enables schema authors to 'override' source definitions in other schema documents.

-- 
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: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org


[jira] Updated: (XERCESJ-1341) Implement xsd:override Support

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

Hiranya Jayathilaka updated XERCESJ-1341:
-----------------------------------------

    Attachment: type-override.zip

The attached archive contains three files

1. test.xml
2. overriding.xml
3. overridden.xml

The overridden.xml defines a complex type named 'personName'. The overriding.xml overrides the type 'personName' by adding an additional attribute to it. The test.xml is validated against the overriding.xml

> Implement xsd:override Support
> ------------------------------
>
>                 Key: XERCESJ-1341
>                 URL: https://issues.apache.org/jira/browse/XERCESJ-1341
>             Project: Xerces2-J
>          Issue Type: New Feature
>          Components: XML Schema 1.1 Structures
>    Affects Versions: 2.9.1
>         Environment: Any
>            Reporter: Hiranya Jayathilaka
>         Attachments: override.patch, type-override.zip
>
>
> xsd:override support enables schema authors to 'override' source definitions in other schema documents.

-- 
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: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org


[jira] Updated: (XERCESJ-1341) Implement xsd:override Support

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

Hiranya Jayathilaka updated XERCESJ-1341:
-----------------------------------------

    Attachment: override.patch

Attached patch is a near complete implementation of the xsd:support. Please review the patch and give me some feedback. Let me know whether I'm on the right track.

Anyway all the testing I have done so far with this implementation has been successful.

Expect a sample soon.

> Implement xsd:override Support
> ------------------------------
>
>                 Key: XERCESJ-1341
>                 URL: https://issues.apache.org/jira/browse/XERCESJ-1341
>             Project: Xerces2-J
>          Issue Type: New Feature
>          Components: XML Schema 1.1 Structures
>    Affects Versions: 2.9.1
>         Environment: Any
>            Reporter: Hiranya Jayathilaka
>         Attachments: override.patch
>
>
> xsd:override support enables schema authors to 'override' source definitions in other schema documents.

-- 
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: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org


[jira] Assigned: (XERCESJ-1341) Implement xsd:override Support

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

Michael Glavassevich reassigned XERCESJ-1341:
---------------------------------------------

    Assignee: Khaled Noaman

> Implement xsd:override Support
> ------------------------------
>
>                 Key: XERCESJ-1341
>                 URL: https://issues.apache.org/jira/browse/XERCESJ-1341
>             Project: Xerces2-J
>          Issue Type: New Feature
>          Components: XML Schema 1.1 Structures
>    Affects Versions: 2.9.1
>         Environment: Any
>            Reporter: Hiranya Jayathilaka
>            Assignee: Khaled Noaman
>         Attachments: override-sample.zip, override-update1.patch, override.patch, type-override.zip
>
>
> xsd:override support enables schema authors to 'override' source definitions in other schema documents.

-- 
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: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org


[jira] Issue Comment Edited: (XERCESJ-1341) Implement xsd:override Support

Posted by "Hiranya Jayathilaka (JIRA)" <xe...@xml.apache.org>.
    [ https://issues.apache.org/jira/browse/XERCESJ-1341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12650976#action_12650976 ] 

hiranya edited comment on XERCESJ-1341 at 11/26/08 4:12 AM:
------------------------------------------------------------------------

Attached patch is a near complete implementation of the xsd:override support. Please review the patch and give me some feedback. Let me know whether I'm on the right track.

Anyway all the testing I have done so far with this implementation has been successful.

Expect a sample soon.

      was (Author: hiranya):
    Attached patch is a near complete implementation of the xsd:support. Please review the patch and give me some feedback. Let me know whether I'm on the right track.

Anyway all the testing I have done so far with this implementation has been successful.

Expect a sample soon.
  
> Implement xsd:override Support
> ------------------------------
>
>                 Key: XERCESJ-1341
>                 URL: https://issues.apache.org/jira/browse/XERCESJ-1341
>             Project: Xerces2-J
>          Issue Type: New Feature
>          Components: XML Schema 1.1 Structures
>    Affects Versions: 2.9.1
>         Environment: Any
>            Reporter: Hiranya Jayathilaka
>         Attachments: override.patch
>
>
> xsd:override support enables schema authors to 'override' source definitions in other schema documents.

-- 
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: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org


[jira] Updated: (XERCESJ-1341) Implement xsd:override Support

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

Hiranya Jayathilaka updated XERCESJ-1341:
-----------------------------------------

    Attachment: override-update1.patch

The attached patch extends the xsd:override support to elements, attributes, groups, notations etc as defined in the XML schema 1.1 spec

> Implement xsd:override Support
> ------------------------------
>
>                 Key: XERCESJ-1341
>                 URL: https://issues.apache.org/jira/browse/XERCESJ-1341
>             Project: Xerces2-J
>          Issue Type: New Feature
>          Components: XML Schema 1.1 Structures
>    Affects Versions: 2.9.1
>         Environment: Any
>            Reporter: Hiranya Jayathilaka
>         Attachments: override-update1.patch, override.patch, type-override.zip
>
>
> xsd:override support enables schema authors to 'override' source definitions in other schema documents.

-- 
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: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org