[Bug 2711] [xqueryx] #) in pragma content

http://www.w3.org/Bugs/Public/show_bug.cgi?id=2711





------- Additional Comments From davidc@nag.co.uk  2006-01-25 12:09 -------
> The pattern is:
>    <xsd:pattern value="[^#]*([^\)]*[^#]\))*[^\)]*"/>
> 

I think that allows (any string containing) #))

#)) matches as shown (using . to denote a null string)

[^#]*([^\)]*[^#]\))*[^\)]*
  .     #     )  )   .


I think probably

       <xsd:pattern value="[^#]*([^#]*#+[^\)]+)*#*"/>

does the job, although thinking about it gave me a headache:-)

Received on Wednesday, 25 January 2006 12:09:24 UTC