directory-listing filter

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 UTC