[ 
https://issues.apache.org/jira/browse/OODT-775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14193013#comment-14193013
 ] 

Lewis John McGibbney commented on OODT-775:
-------------------------------------------

For those interested writing the xmlunit test for XSD validation is as simple 
as this
{code}
InputSource is = new InputSource(new FileInputStream(myXmlDocument));
Validator v = new Validator(is);
v.useXMLSchema(true);
v.setJAXP12SchemaSource(new File(myXmlSchemaFile));
boolean isValid = v.isValid();
{code}
BEWM

> XSD's for pushpull's mimetypes.xml
> ----------------------------------
>
>                 Key: OODT-775
>                 URL: https://issues.apache.org/jira/browse/OODT-775
>             Project: OODT
>          Issue Type: Sub-task
>          Components: push pull framework
>    Affects Versions: 0.7
>            Reporter: Lewis John McGibbney
>            Assignee: Lewis John McGibbney
>             Fix For: 0.8
>
>         Attachments: OODT-775.patch
>
>
> This issue will create the required XSD's for the entire pushpull component.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to