Fixed in CVS. Thx for the patch.

Sandy Gao
Software Developer, IBM Canada
(1-905) 413-3255
[EMAIL PROTECTED]



                                                                       
             Mike                                                      
             Boos/Toronto/IBM@                                         
             IBMCA                                                      To
                                       [EMAIL PROTECTED]     
             02/24/2004 01:47                                           cc
             PM                                                        
                                                                   Subject
                                       [PATCH] Missing pattern strings for
             Please respond to         simple types                    
               xerces-j-dev                                            
                                                                       
                                                                       
                                                                       
                                                                       
                                                                       









The PSVIWriter sample, describing the facets of a simple type of base
integer, emits the following:
          <psv:pattern>
           <psv:fixed>false</psv:fixed>
           <psv:annotations�xsi:nil="true"/>
          </psv:pattern>

The PSVIWriter should emit:
          <psv:pattern>
           <psv:value>[+\-]?[0-9]+</psv:value>
           <psv:fixed>false</psv:fixed>
           <psv:annotations�xsi:nil="true"/>
          </psv:pattern>

The pattern strings are missing for all simple types of base integer, Name,
NCName, or NMToken.
getLexicalPattern() in XSSimpleTypeDecl.java omits the pattern strings for
the base types because the specified size of the string list of patterns is
too small.

The attached patch sets the pattern string list to the proper size in order
to include the built-in patterns strings.
(See attached file: patchfile.txt)

Mike Boos
 [EMAIL PROTECTED]
(905) 413-3722

---------------------------------------------------------------------
 To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

#### patchfile.txt has been removed from this note on February 26 2004 by
Sandy Gao


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to