← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 670371] Re: XML file validation could use an XML schema

 

@Raphaël
To be fair, he only said we should have xml schemas, which RelaxNG is an instance of [0], he didn't explicitly state we should specifically use the W3C's own XML Schema (capitalization is important, as "XML schema" is the concept of descriptive constraint files, but "XML Schema" is the W3C XML schema language)

[0] http://en.wikipedia.org/wiki/XML_schema

-- 
XML file validation could use an XML schema
https://bugs.launchpad.net/bugs/670371
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Server: Invalid

Bug description:
In v5, validating the XML when a module is loaded is made in python, throwing exceptions when the XML doesn't comply to the expected format.
I believe this is still the case is v6.0-RC1.
I think it would prove very useful to validate instead against a standard XML schema. It would provide an exhaustive documentation in a standard format, and it could be used with various IDEs and XML editors to help writing XML files.
This, of course, is not an urgent issue - just something nice to have for everyone.
Lionel





References