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

Florian Hopf updated ODFTOOLKIT-152:
------------------------------------

    Fix Version/s:     (was: odfdom-0.9)
    
> Need to integrate validation/conformance testing with unit tests
> ----------------------------------------------------------------
>
>                 Key: ODFTOOLKIT-152
>                 URL: https://issues.apache.org/jira/browse/ODFTOOLKIT-152
>             Project: ODF Toolkit
>          Issue Type: Bug
>          Components: java
>    Affects Versions: odfdom-0.8.6
>         Environment: Operating System: Windows
> Platform: PC
>            Reporter: Robert Weir
>            Assignee: issues
>
> We're starting to see some ODFDOM-generated files that are not valid 
> according to the latest schemas.  I think we will all agree that this is not 
> good.
> One thing we can do to detect these types of problems earlier is to make sure 
> that we run the ODF Validator against every test file that is created as part 
> of the unit tests.  
> 1) We should use a command-line version of the validator
> 2) We should make sure that the validator uses the same version of the ODF 
> schema that ODFDOM uses for codegen.  It is important that these are in sync, 
> even if they are not the very latest versions.
> 3)We should run the validator against each document created in the unit 
> tests.  One elegant way to do this is to create a custom Ant task for running 
> the validator.  
> 4) Goal should be for all unit tests to generate only conforming ODF 
> documents, according to whatever revision of the schema we are using.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to