[Koha-bugs] [Bug 10398] We should have XML validity tests

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jun 3 21:11:07 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10398

Bernardo Gonzalez Kriegel <bgkriegel at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bgkriegel at gmail.com

--- Comment #2 from Bernardo Gonzalez Kriegel <bgkriegel at gmail.com> ---
Interesting, but I think you are only checking well formed xml.

For valid xml I think the command needs to be

my @command  = qw(xmllint --valid --noout);

But in the case of 006/008 value builders you need to specify
and external XSD, like (cd-ing to the apropriate folder)

xmllint --schema marc21_field_CF.xsd --noout marc21_field_006.xml

Anyway, well formed is good enough :)

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list