Under a multi-thread environment, quite often the xerces throws an error on
the following pattern, even the value is perfectly good. The interesting
part is the problem does not happen all the time, and it does not happen
under single thread environment.
<xsd:pattern value="\d{8}T\d{6}(\.\d{0,3})?Z"/>
Error msg like: "Value 20011110T101535.345Z does not match regular
expression facet '\d{8}T\d{6}(\.\d{0,3})?Z'..
But if I change the pattern to the following, then it works fine. I think
xecers some how got confused by the "\d" somewhere when under multi-thread.
<xsd:pattern value="[0-9]{8}T[0-9]{6}([.][0-9]{0,3})?Z"/>
BTW, I am using xerces version 1.4.3
Thanks,
Benson.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]