TIBCOSoftware / genxdm

GenXDM: XQuery/XPath Data Model API, bridges, and processors for tree-model neutral access to XML.
http://www.genxdm.org/
9 stars 4 forks source link

SchemaConstraintChecker.castUp method fails to account for target type of Integer #131

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The castup(XmlAtom, NativeType) method is only called from w/in 
SchemaConstraintChecker, and the only target types passed in are INTEGER, INT, 
DECIMAL, FLOAT, and DATE.  But, the castUp method throws an improper 
AssertionError when the target type is INTEGER.  Most likely, this was an 
oversight.

Original issue reported on code.google.com by joe.bays...@gmail.com on 31 May 2013 at 8:23

GoogleCodeExporter commented 9 years ago
(r453) In processor.w3c.xs's SchemaConstraintChecker.castUp metho, added case 
for target type of Integer.

Original comment by joe.bays...@gmail.com on 3 Jun 2013 at 3:09