[ http://issues.apache.org/jira/browse/XERCESC-1521?page=all ]

Alberto Massari reassigned XERCESC-1521:
----------------------------------------

    Assign To: Alberto Massari

> Error in regexpr matching
> -------------------------
>
>          Key: XERCESC-1521
>          URL: http://issues.apache.org/jira/browse/XERCESC-1521
>      Project: Xerces-C++
>         Type: Bug
>   Components: Validating Parser (Schema) (Xerces 1.5 or up only)
>     Versions: 2.7.0
>  Environment: Windows XP Professional SP2, MS Visual C++ 6.0, A newly 
> downloaded binary distribution of Xerces-C 2.7.0
>     Reporter: Kasper Døring
>     Assignee: Alberto Massari

>
> Hi
> I use the followin type definition:
>   <xsd:simpleType name="Real_type">
>     <xsd:restriction base="xsd:string">
>       <xsd:pattern 
> value="(\+|\-)?[0-9]*(([0-9].)|(.[0-9]))?[0-9]*(e(\+|\-)?[0-9]+)?"/>
>     </xsd:restriction>
>   </xsd:simpleType>
> to match decimal values using the e-notation (the regexpr is not perfet I 
> know).
> When I try to validate the value '1.e23' (for instance) the validation fails 
> even though it is clearly valid.
> The problem disapears when I move to a Linux (Debian) platform and run the 
> exact code.
> I'll gladly email some code and example XML-files
> Best regards
> Kasper Døring

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to