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 "Michael Glavassevich (JIRA)" <xe...@xml.apache.org> on 2009/11/22 19:33:39 UTC

[jira] Updated: (XERCESJ-1337) Support XSTypeDefinition as a value of the "root-type-definition" property.

     [ https://issues.apache.org/jira/browse/XERCESJ-1337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Glavassevich updated XERCESJ-1337:
------------------------------------------

    Fix Version/s: 2.10.0

> Support XSTypeDefinition as a value of the "root-type-definition" property.
> ---------------------------------------------------------------------------
>
>                 Key: XERCESJ-1337
>                 URL: https://issues.apache.org/jira/browse/XERCESJ-1337
>             Project: Xerces2-J
>          Issue Type: Improvement
>          Components: XML Schema 1.0 Structures
>    Affects Versions: 2.9.1
>            Reporter: Michael Glavassevich
>            Assignee: Michael Glavassevich
>            Priority: Minor
>             Fix For: 2.10.0
>
>
> In Xerces 2.8.0 we introduced a property called "http://apache.org/xml/properties/validation/schema/root-type-definition" which allows a user to specify the type definition to use for validating the validation root (not necessarily the root element of the document).  Given that we defined the value to be a QName it's currently only possible to idenitfy global type defnitions.  If the user has acquired an XSTypeDefinition from the XSModel we should also allow this to be set as the value of the property.  This makes it possible to select an anonymous type definition for validating the root.

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