c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #02478
Re: [Bug 670371] Re: XML file validation could use an XML schema
Hello Lionel and all,
I personally stands behind the choice of "RNG" validation. XML Schema's are
corporate stuff that is often criticized for not being user friendly, many
advanced developer tend to consider RNG is a valid standard and a good
improvement over XML Schemas (a bit like YAML over XML). Now, may be RNG
files could be better (specially regarding the application of inheritance),
it's alos possible to derivate schemas from those RNG files for IDE
auto-completion, but that's an other topic, all in all I personally think
it's a nice thing to have RNG as the primary schema.
Raphaël Valyi
2010/11/3 Xavier (Open ERP) <670371@xxxxxxxxxxxxxxxxxx>
> > I think it would prove very useful to validate instead against a
> standard XML schema.
>
> bin/addons/base/rng/view.rng
> bin/import_xml.rng
>
>
> ** Changed in: openobject-server
> Status: New => Invalid
>
> --
> XML file validation could use an XML schema
> https://bugs.launchpad.net/bugs/670371
> You received this bug notification because you are subscribed to
> OpenObject Server.
>
> 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
>
>
>
--
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