Skip to content

Commit

Permalink
test for XInclude processing
Browse files Browse the repository at this point in the history
  • Loading branch information
greenTara committed May 24, 2014
1 parent 9bed5a4 commit bdb0f01
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
24 changes: 24 additions & 0 deletions exa/Issues/XInclude-test.ruleml
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="http://deliberation.ruleml.org/1.01/relaxng/datalog_min_relaxed.rnc" type="application/relax-ng-compact-syntax"?>
<!--<?xml-model href="http://deliberation.ruleml.org/1.01/xsd/hornlog.xsd" type="application/xml" schematypens="http://www.w3.org/2001/XMLSchema"?>-->

<RuleML xmlns="http://ruleml.org/spec"
xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://ruleml.org/spec http://deliberation.ruleml.org/1.01/xsd/hornlog.xsd">

<Assert>
<xi:include href="include.ruleml"/>
</Assert>


<Query>
<Atom>
<op>
<Rel>r</Rel>
</op>
<Var>X</Var>
</Atom>
</Query>
</RuleML>
8 changes: 8 additions & 0 deletions exa/Issues/include.ruleml
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>

<Atom xmlns="http://ruleml.org/spec">
<op>
<Rel>r</Rel>
</op>
<Ind/>
</Atom>

0 comments on commit bdb0f01

Please sign in to comment.