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

Attachment: patchfile.txt
Description: Binary data

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

Reply via email to