W3C home > Mailing lists > Public > xproc-dev@w3.org > February 2010

Current XProc schema documents valid?

From: Adam Constabaris <adamc@unc.edu>
Date: Fri, 05 Feb 2010 14:07:03 -0500
To: xproc-dev@w3.org
Message-ID: <1265396823.4946.32.camel@cdlaptop05.dhcp.unc.edu>
Hello,

In trying to resolve a XS0044 "Unexpected step name" error under
Calabash (0.9.15), I attempted to validate my pipeline document using
the RNC schema at

http://www.w3.org/TR/xproc/schemas/xproc.rnc

Jing (2009-11-11 version, but a previous version yielded the same
result) issues the following complaint:
=====================

http://www.w3.org/TR/xproc/schemas/xproc.rnc:590:4: error: duplicate
attribute "use-when" from namespace "http://www.w3.org/ns/xproc"

(command: java -jar jing.jar -c
http://www.w3.org/TR/xproc/schemas/xproc.rnc pipeline.xpl) 

===================

Assuming this could be an issue that cropped up after translating from
RNG to RNC, I tried jing again with the RNG:

http://www.w3.org/TR/xproc/schemas/xproc.rng:1154:14: error: duplicate
attribute "use-when" from namespace "http://www.w3.org/ns/xproc"

(java -jar jing-20091111/bin/jing.jar
http://www.w3.org/TR/xproc/schemas/xproc.rng pipeline.xpl)

Similar results occured against the RNG with libxml2's xmllint (version
20705)

Either one on its own could be chalked up to bugs in the validation
tools, but th makes me suspect there may be an issue with the schemas. A
spot check of the .rnc didn't reveal any obvious definition of use-when.

Does anybody have validation working against these documents?

cheers,

AC
Received on Friday, 5 February 2010 23:15:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 5 February 2010 23:15:38 GMT