Underlying <xs:schema> element should be accessible from API
------------------------------------------------------------

                 Key: WODEN-126
                 URL: https://issues.apache.org/jira/browse/WODEN-126
             Project: Woden
          Issue Type: Improvement
            Reporter: John Kaputin
             Fix For: M7


Woden supports XML Schema datatypes via ws-commons XmlSchema, but Woden users 
may prefer to use other mechanisms for manipulating schema information. The API 
should allow the user to access the underlying <xs:schema> element 'wrapped' by 
the ImportedSchema or InlinedSchema object so they have the flexibility to 
choose other mechanisms.  For example, in the DOM implementation the underlying 
schema element is an org.w3c.dom.Element object. To avoid API-dependencies on 
particular XML parsers or object models the org.apache.woden.XMLElement class 
should be used for this purpose, as this is an abstraction of DOM Element, OM 
Element, etc.

The org.apache.woden.schema.Schema interface (supertype of ImportedSchema and 
InlinedSchema) requires two new methods:

void setSchemaElement(XMLElement)
XMLElement getSchemaElement()

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to