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


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to