Hi Michael,
 
It is true that the regular expression is invalid. Thanks for posting this such 
that if anybody else is running into it they'll hopefully be able to find your 
post. But it would be even more useful if you posted the same thing to the 
mailing list of the group that publishes this Schema, to make sure that they 
fix it for their next release.
 
Radu


________________________________

        From: Holly, Michael [mailto:[EMAIL PROTECTED] 
        Sent: Thursday, September 18, 2008 11:46 AM
        To: user@xmlbeans.apache.org
        Subject: Problem with ECMA 376 xsd
        
        

        Hello

         

        I hope this is the right place to voice this.  I am trying to use 
XMLBeans to compile the ECMA 376 (Open Office) xsd files into a 
ooxml-schemas.jar.  I have noticed that when I compile using scomp that I get 
the following error.

         

        vml.xsd:470:7: error: pattern-regex: The regular expression 
'1{0-1}[0-9]{0-3}f' is malformed: Invalid quantifier. Invalid quantity or a '}' 
is missing.

         

        The line in question is       <xsd:pattern value="1{0-1}[0-9]{0-3}f" /> 
  This IS an invalid regular expression.  Based on what it appeared to be 
trying to do I substituted the following line and it passed       <xsd:pattern 
value="^1{0,1}[0-9]{0,3}f" />

         

        Just more of an FYI than anything.

         

        Michael Holly

         

         

         

Reply via email to