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

Benson Margulies resolved WSCOMMONS-411.
----------------------------------------

       Resolution: Fixed
    Fix Version/s: XmlSchema 1.4.3

Done.

> Add ability to get a DOM for the XmlSchema object
> -------------------------------------------------
>
>                 Key: WSCOMMONS-411
>                 URL: https://issues.apache.org/jira/browse/WSCOMMONS-411
>             Project: WS-Commons
>          Issue Type: Improvement
>          Components: XmlSchema
>            Reporter: Daniel Kulp
>             Fix For: XmlSchema 1.4.3
>
>
> It would be nice to be able to grab a DOM for the XmlSchema object.   
> Currently, there are "XmlSchema.write(...)" methods that write a stream and 
> there is a "Document[] getAllSchemas()" method to get all the schemas 
> including the imports, but nothing to get a DOM for just that schema.
> Two ways to do it:
> 1) Make the XmlSchemaSerializer constructor public so it can be used 
> directly.  
> 2) Add a Document getSchemaDocument() method to XmlSchema that does:
>             XmlSchemaSerializer xser = new XmlSchemaSerializer();
>             xser.setExtReg(this.parent.getExtReg());
>             return xser.serializeSchema(this, false)[0];
> Personally, I'd prefer both.  :-)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to