Last active
June 25, 2019 22:58
-
-
Save dwcramer/997a35527ebc34ebf7d671b18ca19149 to your computer and use it in GitHub Desktop.
Output of pxp:nvdl with errors
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<p:declare-step version='1.0' name="main" | |
xmlns:p="http://www.w3.org/ns/xproc" | |
xmlns:pxp="http://exproc.org/proposed/steps" | |
xmlns:ex="http://xproc.org/ns/xproc/ex"> | |
<!-- Always include this to ward off evil --> | |
<p:import href="http://xmlcalabash.com/extension/steps/library-1.0.xpl"/> | |
<p:input port="source"> | |
<p:inline> | |
<chapterx xmlns="http://docbook.org/ns/docbook" xml:id="chapter-0" version="5.0"> | |
<title>Ipsum Lorem</title> | |
<section xml:id="section-1"> | |
<title>Test case: multiple arch attribute3</title> | |
<orderedlist> | |
<listitem> | |
<para>the first item has no arch or role attribute set</para> | |
</listitem> | |
</orderedlist> | |
</section> | |
</chapterx> | |
</p:inline> | |
</p:input> | |
<p:output port="result"/> | |
<p:try> | |
<p:group> | |
<pxp:nvdl assert-valid="true"> | |
<p:input port="nvdl"> | |
<p:document href="/Users/dcramer/test/segbook.nvdl"/> | |
</p:input> | |
<p:input port="schemas"> | |
<p:empty/> | |
</p:input> | |
</pxp:nvdl> | |
</p:group> | |
<p:catch name="catch"> | |
<p:identity> | |
<p:input port="source"> | |
<p:pipe step="catch" port="error"/> | |
</p:input> | |
</p:identity> | |
</p:catch> | |
</p:try> | |
</p:declare-step> | |
dcramer@anatine-3 ~/Downloads/1.1.27-99 | |
$ java -jar xmlcalabash-1.1.27-99.jar ~/Downloads/test.xpl | |
/Users/dcramer/Downloads/test.xpl:2:179: error: element "chapterx" not allowed anywhere; expected element "acknowledgements", "appendix", "article", "bibliography", "book", "caution", "chapter", "colophon", "computeroutput", "dedication", "example", "figure", "formalpara", "glossary", "glossentry", "important", "index", "informalexample", "informalfigure", "informaltable", "inlinemediaobject", "itemizedlist", "legalnotice", "listitem", "member", "note", "ns:include", "orderedlist", "para", "part", "phrase", "preface", "procedure", "programlisting", "qandaentry", "refentry", "reference", "refsect2", "refsect3", "refsection", "row", "screenshot", "sect2", "sect3", "sect4", "sect5", "section", "set", "setindex", "simpara", "simplelist", "step", "table", "tip", "toc", "variablelist", "varlistentry" or "warning" (with xmlns:ns="http://www.w3.org/2001/XInclude") | |
/Users/dcramer/Downloads/test.xpl:3:43: error: element "chapterx" not allowed anywhere; expected element "acknowledgements", "appendix", "article", "bibliography", "book", "caution", "chapter", "colophon", "computeroutput", "dedication", "example", "figure", "formalpara", "glossary", "glossentry", "important", "index", "informalexample", "informalfigure", "informaltable", "inlinemediaobject", "itemizedlist", "legalnotice", "listitem", "member", "note", "ns:include", "orderedlist", "para", "part", "phrase", "preface", "procedure", "programlisting", "qandaentry", "refentry", "reference", "refsect2", "refsect3", "refsection", "row", "screenshot", "sect2", "sect3", "sect4", "sect5", "section", "set", "setindex", "simpara", "simplelist", "step", "table", "tip", "toc", "variablelist", "varlistentry" or "warning" (with xmlns:ns="http://www.w3.org/2001/XInclude") | |
/Users/dcramer/Downloads/test.xpl:11:27: error: element "chapterx" not allowed anywhere; expected element "acknowledgements", "appendix", "article", "bibliography", "book", "caution", "chapter", "colophon", "computeroutput", "dedication", "example", "figure", "formalpara", "glossary", "glossentry", "important", "index", "informalexample", "informalfigure", "informaltable", "inlinemediaobject", "itemizedlist", "legalnotice", "listitem", "member", "note", "ns:include", "orderedlist", "para", "part", "phrase", "preface", "procedure", "programlisting", "qandaentry", "refentry", "reference", "refsect2", "refsect3", "refsection", "row", "screenshot", "sect2", "sect3", "sect4", "sect5", "section", "set", "setindex", "simpara", "simplelist", "step", "table", "tip", "toc", "variablelist", "varlistentry" or "warning" (with xmlns:ns="http://www.w3.org/2001/XInclude") | |
<c:errors xmlns:c="http://www.w3.org/ns/xproc-step"><c:error xmlns:err="http://www.w3.org/ns/xproc-error" code="err:XC0053" href="file:/Users/dcramer/Downloads/test.xpl" line="5" column="45">XC0053</c:error></c:errors> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment