Add xspec as XML file extension (#3702)

This commit is contained in:
Chris Wilkinson
2017-07-03 17:39:39 +01:00
committed by Paul Chaignon
parent 9a6c3f2c4d
commit e9ec699931
2 changed files with 17 additions and 0 deletions

View File

@@ -4872,6 +4872,7 @@ XML:
- ".xml.dist"
- ".xproj"
- ".xsd"
- ".xspec"
- ".xul"
- ".zcml"
filenames:

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<x:description xmlns:x="http://www.jenitennison.com/xslt/xspec"
xmlns:functx="http://www.functx.com"
query="http://www.functx.com"
query-at="xquery-tutorial.xq">
<x:scenario label="Calling function capitalize-first">
<x:call function="functx:capitalize-first">
<x:param select="'hello'"/>
</x:call>
<x:expect label="should capitalize the first character of the string" select="'Hello'"/>
</x:scenario>
</x:description>