muttley73 / jlibs

Automatically exported from code.google.com/p/jlibs
0 stars 0 forks source link

Values generated by XSInstance.generate() for xsd decimal type is not valid #42

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
  Generate xml by XSInstance.generate() for xsd with decimal type

What is the expected output? What do you see instead?
  Generated values like "1234.456E123", but "E" is not allowed (http://books.xmlschemata.org/relaxng/ch19-77057.html)

What version of the product are you using? On what operating system?
  r1753, Windows

Please provide any additional information below.
  http://www.w3.org/TR/xmlschema-2/#decimal
  I believe only xsd float type allows exponent notation. IBM Websphere fails on validate decimal with exponent. 

Original issue reported on code.google.com by kolobo...@gmail.com on 26 Nov 2013 at 1:54

GoogleCodeExporter commented 9 years ago
Do you have any example schema file, to reproduce this

of course, i can write such schema. But if you already have it then it will 
same some time for me

Original comment by santhosh.tekuri@gmail.com on 29 Nov 2013 at 9:39

GoogleCodeExporter commented 9 years ago
Fixed in r1776

the new build is available in maven snapshots repository
alternatively, you can download it from:
https://dl.dropboxusercontent.com/u/326301/jlibs-r1776.zip

Original comment by santhosh.tekuri@gmail.com on 29 Nov 2013 at 11:34