kszbcss / xspec

Private backup of the xspec project at google code, as google code is going to disappear.
MIT License
1 stars 0 forks source link

xspec.xpl generates static error err:XS0062 #31

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Run the tutorial escape-for-regex.xspec using xspec.xpl with XML Calabash.

What is the expected output? What do you see instead?

I expect the xpl to generate HTML report, instead it reports:

SystemID: C:\xspec\xspec.xpl
Engine name: Calabash XProc
Severity: error
Description: XS0062 : XS0062 It is a static error if a required version 
attribute is not present.
URL: http://www.w3.org/TR/xproc/#err.S0062

What version of the product are you using? On what operating system?

- Oxygen 11.2 (not required but that's how I run the xproc)
- Calabash 0.9.19
- Windows XP

Please provide any additional information below.

Trivial fix is to add version="1.0" to the x:pipeline in xspec.xpl

Original issue reported on code.google.com by marc.van...@gmail.com on 13 Aug 2010 at 10:46

GoogleCodeExporter commented 9 years ago
Thanks!  This was added before xproc required @version.

Original comment by jsulak@gmail.com on 13 Aug 2010 at 1:19

GoogleCodeExporter commented 9 years ago
Thanks, its perfect
By default in Oxygen, u can have
<p:declare-step xmlns:p="http://www.w3.org/ns/xproc" name="myPipeline">
....
</p:declare-step>
Just add the version like mentioned before
<p:declare-step xmlns:p="http://www.w3.org/ns/xproc" name="myPipeline" 
version="1.0">

Original comment by msama...@gmail.com on 15 Apr 2015 at 1:51