You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@xmlbeans.apache.org by Carsten Holzmüller <s1...@mail.inf.tu-dresden.de> on 2006/12/17 20:50:58 UTC

Type, parsing, facet restriction

Hi,

how I can parsing a XMLSchema type with a facet restriction?

Example without facet:

try {
   XmlInteger value;
   value = XmlInteger.Factory.parse("<dummy>" + string + "</dummy>");
}
catch (XmlException e) {
   ...
}

How can I test on facets (like minLength, maxLength, ...)?
Thx

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: user-help@xmlbeans.apache.org