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

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


jim.melton@acm.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED




------- Additional Comments From jim.melton@acm.org  2006-01-25 04:19 -------
Good observation! 

With a little help from my friends (thanks, Liam!), I've modified the XQueryX
schema to use the following pattern that will exclude (i.e., fail validation)
XQueryX documents containing a pragmaContents that contains the literal sequence #)

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

Since this does exactly what you requested, I assume that you will be willing to
mark this bug CLOSED.  Of course, if you believe that this pattern does not do
the job fully or correctly, please let me know.

Received on Wednesday, 25 January 2006 04:19:40 UTC