* Dave Pawson wrote:
> <data type="string">
>               <param 
> name="pattern">https?\:////([^/?#]+)/([^?#]*)(\?([^?#]+))?(#(.*))?</param>
>             </data>
>
>I'm getting an '
>x.rng:25:25: error: invalid parameter: invalid regular expression:
>illegal escape:
>https?\>>>>:////([^/?#]+)/([^?#]*)(\?([^?#]+))?(#(.*))?
>
>error
>Where is the regex syntax for rng please?

Relax NG does not have a regular expression syntax, you have to use a
data type library and you would have to check whatever specification
governs the type library you are using. If you are using XML Schema
data types, http://www.w3.org/TR/xmlschema-2/#regexs is the place to
check, production [24] in particular. It seems it does not like that
you escape the ":".
-- 
Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 

Reply via email to