[xml] xml Schema: Regular expression



Hi..

       I am working on Regular expressions validation. I am getting error for the following regular _expression_ in Altova spy. But I am not getting any error in libxml. Can you please reply me whether the following expressions are valid or not according to schema specification.

 

{1}a

a{2,1}

a{1,0}

(ab){2,0}

\p{Is}

\P{Is}

\p{IsaA0-a9}

[\u0554-\u0557]+

[X-\u0533]+

[X-\u00C0]+

[\u0100\u0102\u0104]+

[B-D\u0130]+

[\u013B\u013D\u013F]+

\p{klsak

(?r:foo)

(?c:foo)

round\(((?>[^()]+))\)

(a\1|(?(1)\1)){2}

(a\1|(?(1)\1)){1,2}

 

etc…

 

Thanks and regards,

Bharath.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]