findEntries is really just using the rvalue of the substring production of 
section 3.2.6. Thus, the only interesting character is the '*' which isn't 
a legal file name char anyway (certainly in most commonly used file 
systems.)

Can you construct a pattern that you believe is a syntax error?
-- 

BJ Hargrave
Senior Technical Staff Member, IBM
OSGi Fellow and CTO of the OSGi Alliance
[EMAIL PROTECTED]

office: +1 386 848 1781
mobile: +1 386 848 3788




From:
Alan Cabrera <[EMAIL PROTECTED]>
To:
OSGi Developer Mail List <[email protected]>
Date:
2008-01-02 17:03
Subject:
Re: [osgi-dev] findEntries' filePattern



I'm probably being dense but IIRC, the pattern can be escaped and, so, 
be escaped incorrectly.


Regards,
Alan

On Jan 2, 2008, at 10:57 AM, BJ Hargrave wrote:

> Well it uses the wildcard method of the filter string. So I am not 
> sure
> there can be a syntax error. But, if nothing matches the pattern, 
> null is
> the return.
> -- 
>
> BJ Hargrave
> Senior Technical Staff Member, IBM
> OSGi Fellow and CTO of the OSGi Alliance
> [EMAIL PROTECTED]
>
> office: +1 386 848 1781
> mobile: +1 386 848 3788
>
>
>
>
> From:
> Alan Cabrera <[EMAIL PROTECTED]>
> To:
> OSGi List Developer Mail <[email protected]>
> Date:
> 2007-12-18 02:07
> Subject:
> [osgi-dev] findEntries' filePattern
>
>
>
> It seems to me that filePattern can have a syntax error.  It's not
> clear to me what a call to findEntries() should do in this situation.
> I'm guessing that it should probably return null.  Maybe I missed
> something.
>
>
> Regards,
> Alan
>
> _______________________________________________
> OSGi Developer Mail List
> [email protected]
> http://www2.osgi.org/mailman/listinfo/osgi-dev
>
>
> _______________________________________________
> OSGi Developer Mail List
> [email protected]
> http://www2.osgi.org/mailman/listinfo/osgi-dev
>

_______________________________________________
OSGi Developer Mail List
[email protected]
http://www2.osgi.org/mailman/listinfo/osgi-dev


_______________________________________________
OSGi Developer Mail List
[email protected]
http://www2.osgi.org/mailman/listinfo/osgi-dev

Reply via email to