You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xmlbeans.apache.org by Apache Wiki <wi...@apache.org> on 2011/07/01 08:33:19 UTC

[Xmlbeans Wiki] Trivial Update of "UserTypes" by JohnDorion

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Xmlbeans Wiki" for change notification.

The "UserTypes" page has been changed by JohnDorion:
http://wiki.apache.org/xmlbeans/UserTypes?action=diff&rev1=17&rev2=18

  }}}
  
  As XMLBeans is designed around a "start-from-Schema" use case, the encode and decode methods must be written such that they are able to handle any value that is valid against the schema. Because validation is an optional operation when loading XML there may be cases when a decoder would be called with invalid input. In such cases either {{{org.apache.xmlbeans.impl.values.XmlValueNotSupportedException}}} or {{{XmlValueOutOfRangeException}}} should be
- thrown from the decode method. Such exceptions should not be thrown in cases where the XML input has been successfully validated against the schema (this is just another way of stressing that the decoder must accept all valid input according to the XML Schema). The encoder should never throw such an exception.
+ thrown from the decode method. Such exceptions should not be thrown in cases where the XML input has been successfully validated against the schema (this is just another way of stressing that the decoder must accept all valid input according to the XML Schema). The encoder should never throw such an exception. 
  
+ ----
+ <<Anchor(schemaDependencies)>>
+ '''External links:'''
+ 
+ [[http://www.hundeshagen.de|Rechtsanwalt Göttingen Northeim Duderstadt]] * [[http://www.ehescheidung-jetzt.de|Online Scheidung]]
+ 

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