You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by "Brad Stark (JIRA)" <xm...@xml.apache.org> on 2008/06/17 07:05:45 UTC

[jira] Created: (XMLBEANS-374) Missing implementation of getGDurationValue for XmlDurationImpl

Missing implementation of getGDurationValue for XmlDurationImpl
---------------------------------------------------------------

                 Key: XMLBEANS-374
                 URL: https://issues.apache.org/jira/browse/XMLBEANS-374
             Project: XMLBeans
          Issue Type: Bug
          Components: XmlObject
    Affects Versions: unspecified
            Reporter: Brad Stark
            Priority: Critical
             Fix For: unspecified


a trunk build of XMLBeans, post 2.3.0 release created a regression  in parsing/accessing GDuration values.

The gDurationValue() method was deprecated in the XmlDuration interface, yet an implementation for the replacement method (getGDurationValue()) is missing from the implementation class JavaGDurationHolderEx.

As a result, any call to a node's getGDurationValue() after parsing results in the XmlObjectBase's default implementation (throw an exception).

 

-- 
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: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org


[jira] Updated: (XMLBEANS-374) Missing implementation of getGDurationValue for XmlDurationImpl

Posted by "Brad Stark (JIRA)" <xm...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XMLBEANS-374?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brad Stark updated XMLBEANS-374:
--------------------------------

    Attachment: 374-patch.txt

Attached patch re-implements getGDurationValue() in JavaGDurationHolderEx.

> Missing implementation of getGDurationValue for XmlDurationImpl
> ---------------------------------------------------------------
>
>                 Key: XMLBEANS-374
>                 URL: https://issues.apache.org/jira/browse/XMLBEANS-374
>             Project: XMLBeans
>          Issue Type: Bug
>          Components: XmlObject
>    Affects Versions: unspecified
>            Reporter: Brad Stark
>            Priority: Critical
>             Fix For: unspecified
>
>         Attachments: 374-patch.txt
>
>
> a trunk build of XMLBeans, post 2.3.0 release created a regression  in parsing/accessing GDuration values.
> The gDurationValue() method was deprecated in the XmlDuration interface, yet an implementation for the replacement method (getGDurationValue()) is missing from the implementation class JavaGDurationHolderEx.
> As a result, any call to a node's getGDurationValue() after parsing results in the XmlObjectBase's default implementation (throw an exception).
>  

-- 
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: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org


[jira] Resolved: (XMLBEANS-374) Missing implementation of getGDurationValue for XmlDurationImpl

Posted by "Radu Preotiuc-Pietro (JIRA)" <xm...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XMLBEANS-374?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Radu Preotiuc-Pietro resolved XMLBEANS-374.
-------------------------------------------

    Resolution: Fixed

That's a good catch. We'll put this in the 2.4.0 release. SVN revision 670094.

> Missing implementation of getGDurationValue for XmlDurationImpl
> ---------------------------------------------------------------
>
>                 Key: XMLBEANS-374
>                 URL: https://issues.apache.org/jira/browse/XMLBEANS-374
>             Project: XMLBeans
>          Issue Type: Bug
>          Components: XmlObject
>    Affects Versions: unspecified
>            Reporter: Brad Stark
>            Priority: Critical
>             Fix For: unspecified
>
>         Attachments: 374-patch.txt
>
>
> a trunk build of XMLBeans, post 2.3.0 release created a regression  in parsing/accessing GDuration values.
> The gDurationValue() method was deprecated in the XmlDuration interface, yet an implementation for the replacement method (getGDurationValue()) is missing from the implementation class JavaGDurationHolderEx.
> As a result, any call to a node's getGDurationValue() after parsing results in the XmlObjectBase's default implementation (throw an exception).
>  

-- 
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: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org