Thanks, Arnaud. Yes. Saw the validation code against but Pattern. But Patterns provided by schema simple type are not in any generated Java classes. What do I miss?
Annie |---------+----------------------------> | | "Arnaud Blandin" | | | <[EMAIL PROTECTED]| | | com> | | | | | | 09/22/2003 01:50 | | | PM | | | Please respond to| | | castor-dev | | | | |---------+----------------------------> >--------------------------------------------------------------------------------------------------------------| | | | To: [EMAIL PROTECTED] | | cc: | | Subject: Re: [castor-dev] Does CASTOR-XML Source Generator read PATTERN from a Scheam? | >--------------------------------------------------------------------------------------------------------------| Hi Annie, The Source Generator is totally compliant with the pattern facet defined in a XML schema. Have you checked that the descriptors generated contain the code for valiadtion against Pattern. Internally we use regexp packages from apache to validate the java object model. Arnaud > -----Original Message----- > From: Annie Hwang [mailto:[EMAIL PROTECTED] > Sent: Monday, September 22, 2003 5:57 PM > To: [EMAIL PROTECTED] > Subject: [castor-dev] Does CASTOR-XML Source Generator read > PATTERN from a Scheam? > > > Hi, Experts, > > Trying to use castor-0.9.5-xml source generator to > bind a fairly large XML schema to Java objects, the > generator does not read in the PATTERN FACET from the > schema. It simly ignores patterns. Is it true? > > Is there any patches out there to READ PATTERN facets > to Java objects? How hard to add this feature? Are > there any potential challenges? > > It seems that the validator validates PATTERNS. Is it > true? Is it production-ready? > > Thanks in advance, > > Ann > > > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free, easy-to-use web site design > software http://sitebuilder.yahoo.com > > ----------------------------------------------------------- > If you wish to unsubscribe from this mailing, send mail to > [EMAIL PROTECTED] with a subject of: > unsubscribe castor-dev > ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev