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

List:       fop-dev
Subject:    Re: [GUMP@vmgump]: Project xml-fop-test (in module xml-fop) failed
From:       "Andreas L. Delmelle" <andreas.delmelle () telenet ! be>
Date:       2011-06-08 17:20:54
Message-ID: 00935504-87CA-4876-8BB3-BC149E360C16 () telenet ! be
[Download RAW message or body]


On 08 Jun 2011, at 12:07, Simon Pepping wrote:

> On Tue, Jun 07, 2011 at 10:05:24PM +0200, Andreas L. Delmelle wrote:
> > At any rate, the starting '\(' does indeed seem to be an invalid escape sequence \
> > (Shouldn't it be '\\(' if it needs to match a literal bracket?)  It is present \
> > as-is, on our end in \
> > src/documentation/intermediate-format-ng/fop-intermediate-format-ng-datatypes.xsd. \
> > I am not an XML Schema expert, but that pattern does seem to be odd. Not sure why \
> > the leading backslash is needed... 
> > That file hasn't changed in over 2 years, though. :-/
> 
> '\(' in the pattern is valid and indicates a literal '('.

Oooh, right! Only in Java String literal patterns do we need the double escape, i.e. \
we would need "\\(" for the regex matching pattern "\(". Since the source is XML \
Schema here, that obviously does not apply...

<snip />
> 
> I committed a fix.

Thanks for taking care of this!

Regards

Andreas
---


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

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