]> git.evergreen-ils.org Git - Evergreen.git/commit - Open-ILS/examples/fm_IDL.xml
LP2050227: Fix IDL after validation with xmllint
authorJason Stephenson <jason@sigio.com>
Thu, 22 Feb 2024 15:29:26 +0000 (10:29 -0500)
committerJane Sandberg <js7389@princeton.edu>
Mon, 18 Mar 2024 15:20:14 +0000 (08:20 -0700)
commit5899a689ef91cce9e730b56b51ff94fe8248b1e7
tree68ee1236e801a296af8d6a823595188faa2f60c8
parent36872e82c1dac1ad809444df98eae318ae927972
LP2050227: Fix IDL after validation with xmllint

Fix "relteype" for "reltype" typo on line 1490.

Remove redundant (and empty) retrieve permission on old line 7339.

The above resolve errors reported by `xmllint --scheam fm_IDL.xsd
fm_IDL.xml`:

    fm_IDL.xml:1490: element link: Schemas validity error : Element
    '{http://opensrf.org/spec/IDL/base/v1}link', attribute 'relteype':
    The attribute 'relteype' is not allowed.
    fm_IDL.xml:1490: element link: Schemas validity error : Element
    '{http://opensrf.org/spec/IDL/base/v1}link': The attribute
    'reltype' is required but missing.
    fm_IDL.xml:7339: element retrieve: Schemas validity error :
    Element
    '{http://open-ils.org/spec/opensrf/IDL/permacrud/v1}retrieve':
    This element is not expected. Expected is one of (
    {http://open-ils.org/spec/opensrf/IDL/permacrud/v1}update,
    {http://open-ils.org/spec/opensrf/IDL/permacrud/v1}delete ).
    fm_IDL.xml fails to validate

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Open-ILS/examples/fm_IDL.xml