Skip to content

Commit

Permalink
Added support for cx:saxon-version and cx:saxon-edition system proper…
Browse files Browse the repository at this point in the history
…ties
  • Loading branch information
ndw committed Dec 8, 2011
1 parent 5d4f86b commit 4c8879e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/com/xmlcalabash/functions/SystemProperty.java
Expand Up @@ -128,6 +128,10 @@ public SequenceIterator call(SequenceIterator[] arguments, XPathContext context)
value = runtime.getAllowGeneralExpressions() ? "true" : "false"; value = runtime.getAllowGeneralExpressions() ? "true" : "false";
} else if ("xpointer-on-text".equals(local)) { } else if ("xpointer-on-text".equals(local)) {
value = runtime.getAllowXPointerOnText() ? "true" : "false"; value = runtime.getAllowXPointerOnText() ? "true" : "false";
} else if ("saxon-version".equals(local)) {
value = runtime.getConfiguration().getProcessor().getSaxonProductVersion();
} else if ("saxon-edition".equals(local)) {
value = runtime.getConfiguration().saxonProcessor;
} }
} }


Expand Down

0 comments on commit 4c8879e

Please sign in to comment.