W3C home > Mailing lists > Public > xproc-dev@w3.org > October 2012

directory-listing filter

From: Mansour Al Akeel <mansour.alakeel@gmail.com>
Date: Sat, 20 Oct 2012 15:53:42 -0400
Message-ID: <CAFvvX=a8HuWFOm30Mfed2=mRZA85HxR7fFM+Hzsu2c94T6zOmQ@mail.gmail.com>
To: xproc-dev@w3.org
Hello all,
I am trying to filter some xml files using regex

<p:directory-list include-filter="*xml">
    <p:with-option name="path" select="$path">
      <p:empty/>
    </p:with-option>
  </p:directory-list>

With Calabash I am getting this error:

java -cp calabash/calabash.jar com.xmlcalabash.drivers.Main xpl/main.xpl
20-Oct-2012 3:48:48 PM com.xmlcalabash.drivers.Main error
SEVERE: Pipeline failed: java.util.regex.PatternSyntaxException:
Dangling meta character '*' near index 0
*xml
^

How can I filter the files ??

If this is a bug with Calabash what other Xproc implementation can be
used and production ready ??

Additionally, XML docs I am processing contains DTD that's not
available. I read some where that I can pass an empty DTD, but
couldn't find documentation or example. dtd-validate="false" still
loads a DTD which pain.
Received on Saturday, 20 October 2012 19:56:08 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 20 October 2012 19:56:08 GMT