In unmarshalling xml documents it can happen that schema requirements on
a data type are not strictly respected. For instance, dateTime requires
time zone in the format hh:mm, but it can happen that this is
abbreviated to simply 1. This will cause an exception, and hence the
document can not be parsed.
Is it possible to add something like a plugin into basic data types to
allow preprocessing of the text? For instance something like 
replaceFirst("([+-])(\\d)$", "\\10\\2:00")
replaceFirst("([+-])(\\d+)$", "\\1\\2:00")
to "pad" the sloppy time zone value?
Regards
Harald Brennich

-------------------------------------------------
If you wish to unsubscribe from this list, please
send an empty message to the following address:

[EMAIL PROTECTED]
-------------------------------------------------

Reply via email to