You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by LEJEUNE Michaël <Mi...@sword-technologies.com> on 2009/07/24 13:41:33 UTC

https://issues.apache.org/jira/browse/XERCESJ-601

Dear all,

 

We have the following issue, which seems to correspond to https://issues.apache.org/jira/browse/XERCESJ-601.

 

We use a validating SAX parser in a multi-threaded environment. The parser sometimes reports incorrect error when parsing the W3C standard xml:lang parameter. We use release 2.6.2 of Xerces with JDK 1.4.2_14 (WebLogic 8.1 SP3)

 

The error is the following:

 

cvc-pattern-valid: Value 'DE' is not facet-valid with respect to pattern '([a-zA-Z]{1,8})(-[a-zA-Z0-9]{1,8})*' for type 'language'

 

When is this planned to fix the issue? (or is this fixed in a given release?).

 

Kind Regards,

Michaël.


Re: https://issues.apache.org/jira/browse/XERCESJ-601

Posted by Michael Glavassevich <mr...@ca.ibm.com>.
Hello Michaël,

Xerces-J 2.6.2 is quite an ancient release. We've fixed many (perhaps
hundreds of) bugs since then including some for thread-safety issues. Have
you tried the latest release (Xerces-J 2.9.1)? It is possible that the
problem you're seeing has already been fixed.

Thanks.

Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: mrglavas@ca.ibm.com
E-mail: mrglavas@apache.org

LEJEUNE Michaël <Mi...@sword-technologies.com> wrote on
07/24/2009 07:41:33 AM:

> Dear all,
>
> We have the following issue, which seems to correspond to https:
> //issues.apache.org/jira/browse/XERCESJ-601.
>
> We use a validating SAX parser in a multi-threaded environment. The
> parser sometimes reports incorrect error when parsing the W3C
> standard xml:lang parameter. We use release 2.6.2 of Xerces with JDK
> 1.4.2_14 (WebLogic 8.1 SP3)
>
> The error is the following:
>
> cvc-pattern-valid: Value 'DE' is not facet-valid with respect to
> pattern '([a-zA-Z]{1,8})(-[a-zA-Z0-9]{1,8})*' for type 'language'
>
> When is this planned to fix the issue? (or is this fixed in a given
release?).
>
> Kind Regards,
> Michaël.