Validate XProc files with 3.0 schemas gives errors

Hi, I tried to validate the simple XProc 3.0 example from Achim's Morgana with schemas found in the spec at https://spec.xproc.org/master/head/xproc/#ancillary-files:

<p:declare-step xmlns:p="http://www.w3.org/ns/xproc" xmlns:xs="http://www.w3.org/2001/XMLSchema" version="3.0">
    <p:output port="result" serialization="map{'indent' : true()}" />
    <p:identity>
        <p:with-input>
            <p:inline content-type="text/plain">Hello world. This is an XProc 3.0 pipeline running.</p:inline>
        </p:with-input>
    </p:identity>
</p:declare-step>

When validating in OxygenXML with `xproc30.rng` I get the following messages from Jing:

    an "element" pattern containing an "attribute" pattern with a non-null ID-type must have a name class that contains only "choice" and "name" elements

Above message is located twice for definitions `OtherCompoundStep` and ` OtherAtomicStep`

    conflicting ID-types for attribute "id" from namespace "http://www.w3.org/XML/1998/namespace" of element "load" from namespace "http://www.w3.org/ns/xproc"

Above also located twice for definitions `Any` and `AnyElement`.

Am I missing something? What can I do to get proper validation?

Regards,
Jan

Received on Wednesday, 11 May 2022 07:35:07 UTC