Menu

#16 Bug in processing of "exclude-inline-prefixes"

accepted
None
2018-07-01
2018-07-01
Anonymous
No

There is a bug in processing "exclude-inline-prefixes":
A pipeline like

<p:declare-step version="1.0" xmlns:p="http://www.w3.org/ns/xproc"
  xmlns:x="http://dummy" exclude-inline-prefixes="x">
    <p:output port="result" />

    <p:identity xmlns:x="http:/my">
        <p:input port="source">
            <p:inline>
                <doc xmlns:v="http:/dummy2" />
            </p:inline>
        </p:input>
    </p:identity>
</p:declare-step>

should result in:

<doc xmlns:v="http:/dummy2" xmlns:x="http:/my"/>

but MorganaXProc 1.0.13 produces:

<doc xmlns:v="http:/dummy2"/>

Discussion

  • xml-project.com

    xml-project.com - 2018-07-01
    • status: open --> accepted
     
  • xml-project.com

    xml-project.com - 2018-07-01

    Proposed workaround: Use another prefix on p:identity. (sorry!)

     

Log in to post a comment.