You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by "KASAI Hiroyoshi (JIRA)" <xe...@xml.apache.org> on 2009/05/21 03:29:45 UTC
[jira] Commented: (XERCESJ-1342) Valid gMonth value cannot be
parsed
[ https://issues.apache.org/jira/browse/XERCESJ-1342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12711447#action_12711447 ]
KASAI Hiroyoshi commented on XERCESJ-1342:
------------------------------------------
sorry, my prev comment correction.
NG: old style (ex. "--11Z") and new style (ex. "--11--Z").
OK: new style (ex. "--11Z") and old style (ex. "--11--Z").
> Valid gMonth value cannot be parsed
> -----------------------------------
>
> Key: XERCESJ-1342
> URL: https://issues.apache.org/jira/browse/XERCESJ-1342
> Project: Xerces2-J
> Issue Type: Bug
> Components: JAXP (javax.xml.datatype)
> Affects Versions: 2.9.1
> Reporter: Radu Preotiuc-Pietro
> Attachments: XMLGregorianCalendarImpl.java.XERCESJ-1342.diff
>
>
> Trying to parse a gMonth value with the 'Z' timezone like "--07Z" yields an IllegalArgumentException, even though the value is ok according to XMLSchema part 2, chapter 3.2.14.1: "An optional following time zone qualifier is allowed as for date."
> One can also easily see this from the source code of XMLGregorianCalendarImpl:417 (SVN HEAD) where a test is being made to build the right parser format but misses this case.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org