-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bugfix - xpath for first apply node corrected
- Loading branch information
1 parent
fdee99f
commit 3f822d1
Showing
6 changed files
with
74 additions
and
1 deletion.
There are no files selected for viewing
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
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
16 changes: 16 additions & 0 deletions
16
src/test/resources/com/formulasearchengine/mathmlsim/similarity/util/mathml_apply_1.xml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<math xmlns="http://www.w3.org/1998/Math/MathML"> | ||
<semantics id="p1.1.m1.1a"> | ||
<mrow id="p1.1.m1.1.4" xref="p1.1.m1.1.4.cmml"> | ||
<mi id="p1.1.m1.1.1" xref="p1.1.m1.1.1.cmml">a</mi> | ||
<mo id="p1.1.m1.1.2" xref="p1.1.m1.1.2.cmml">+</mo> | ||
<mi id="p1.1.m1.1.3" xref="p1.1.m1.1.3.cmml">b</mi> | ||
</mrow> | ||
<annotation-xml encoding="MathML-Content" id="p1.1.m1.1b"> | ||
<apply id="p1.1.m1.1.4.cmml" xref="p1.1.m1.1.4"> | ||
<plus id="p1.1.m1.1.2.cmml" xref="p1.1.m1.1.2"/> | ||
<ci id="p1.1.m1.1.1.cmml" xref="p1.1.m1.1.1">π</ci> | ||
<ci id="p1.1.m1.1.3.cmml" xref="p1.1.m1.1.3">π</ci> | ||
</apply> | ||
</annotation-xml> | ||
</semantics> | ||
</math> |
16 changes: 16 additions & 0 deletions
16
src/test/resources/com/formulasearchengine/mathmlsim/similarity/util/mathml_apply_2.xml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<math xmlns="http://www.w3.org/1998/Math/MathML"> | ||
<semantics id="p1.1.m1.1a"> | ||
<apply id="p1.1.m1.1.4.cmml" xref="p1.1.m1.1.4"> | ||
<plus id="p1.1.m1.1.2.cmml" xref="p1.1.m1.1.2"/> | ||
<ci id="p1.1.m1.1.1.cmml" xref="p1.1.m1.1.1">π</ci> | ||
<ci id="p1.1.m1.1.3.cmml" xref="p1.1.m1.1.3">π</ci> | ||
</apply> | ||
<annotation-xml encoding="MathML-Presentation" id="p1.1.m1.1b"> | ||
<mrow id="p1.1.m1.1.4" xref="p1.1.m1.1.4.cmml"> | ||
<mi id="p1.1.m1.1.1" xref="p1.1.m1.1.1.cmml">a</mi> | ||
<mo id="p1.1.m1.1.2" xref="p1.1.m1.1.2.cmml">+</mo> | ||
<mi id="p1.1.m1.1.3" xref="p1.1.m1.1.3.cmml">b</mi> | ||
</mrow> | ||
</annotation-xml> | ||
</semantics> | ||
</math> |
7 changes: 7 additions & 0 deletions
7
src/test/resources/com/formulasearchengine/mathmlsim/similarity/util/mathml_apply_3.xml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<math xmlns="http://www.w3.org/1998/Math/MathML"> | ||
<apply id="p1.1.m1.1.4.cmml" xref="p1.1.m1.1.4"> | ||
<plus id="p1.1.m1.1.2.cmml" xref="p1.1.m1.1.2"/> | ||
<ci id="p1.1.m1.1.1.cmml" xref="p1.1.m1.1.1">π</ci> | ||
<ci id="p1.1.m1.1.3.cmml" xref="p1.1.m1.1.3">π</ci> | ||
</apply> | ||
</math> |
7 changes: 7 additions & 0 deletions
7
src/test/resources/com/formulasearchengine/mathmlsim/similarity/util/mathml_apply_4.xml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<math xmlns="http://www.w3.org/1998/Math/MathML"> | ||
<mrow id="p1.1.m1.1.4" xref="p1.1.m1.1.4.cmml"> | ||
<mi id="p1.1.m1.1.1" xref="p1.1.m1.1.1.cmml">a</mi> | ||
<mo id="p1.1.m1.1.2" xref="p1.1.m1.1.2.cmml">+</mo> | ||
<mi id="p1.1.m1.1.3" xref="p1.1.m1.1.3.cmml">b</mi> | ||
</mrow> | ||
</math> |