[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xerces-c-dev
Subject:    [jira] Created: (XERCESC-1521) Error in regexpr matching
From:       Kasper_Døring_(JIRA) <xerces-c-dev () xml ! apache ! org>
Date:       2005-10-31 10:29:55
Message-ID: 1070018622.1130754595570.JavaMail.jira () ajax ! apache ! org
[Download RAW message or body]

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


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: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic