Created
February 9, 2017 17:09
-
-
Save dmj/8d7ff4a471088dbd20521facd6a2b03b to your computer and use it in GitHub Desktop.
NullPointerException w/ nested includes in RelaxNG compact syntax
This file contains hidden or 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
<p:declare-step version="1.0" xmlns:p="http://www.w3.org/ns/xproc"> | |
<p:validate-with-relax-ng> | |
<p:input port="source"> | |
<p:inline> | |
<foobar/> | |
</p:inline> | |
</p:input> | |
<p:input port="schema"> | |
<p:data href="schema0.rnc" content-type="text/plain"/> | |
</p:input> | |
</p:validate-with-relax-ng> | |
<p:sink/> | |
</p:declare-step> |
This file contains hidden or 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
include "schema1.rnc" |
This file contains hidden or 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
include "schema2.rnc" |
This file contains hidden or 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
start = element foobar { empty } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment