You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Guillaume Bailleul (JIRA)" <ji...@apache.org> on 2010/02/15 16:23:28 UTC

[jira] Created: (PDFBOX-621) XMPSchema.getIntegerProperty does not return existing value

XMPSchema.getIntegerProperty does not return existing value
-----------------------------------------------------------

                 Key: PDFBOX-621
                 URL: https://issues.apache.org/jira/browse/PDFBOX-621
             Project: PDFBox
          Issue Type: Bug
          Components: JempBox
    Affects Versions: 1.0.1
            Reporter: Guillaume Bailleul


In org.apache.jempbox.xmp.XMPSchema, the method getIntegerProperty does not return the expected value.
The test made in the method is invalid (should expect the opposite value)



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (PDFBOX-621) XMPSchema.getIntegerProperty does not return existing value

Posted by "Andreas Lehmkühler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PDFBOX-621?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Lehmkühler resolved PDFBOX-621.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.1.0

I've added the patch with version 917194.

I've slightly changed the patch. It is faster to check the length of a string than to check if it equals an empty string.

Thanks for your contributuion Guillaume.


> XMPSchema.getIntegerProperty does not return existing value
> -----------------------------------------------------------
>
>                 Key: PDFBOX-621
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-621
>             Project: PDFBox
>          Issue Type: Bug
>          Components: JempBox
>    Affects Versions: 1.0.1
>            Reporter: Guillaume Bailleul
>             Fix For: 1.1.0
>
>         Attachments: XMPSchema.patch, XMPSchemaTest.patch
>
>
> In org.apache.jempbox.xmp.XMPSchema, the method getIntegerProperty does not return the expected value.
> The test made in the method is invalid (should expect the opposite value)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (PDFBOX-621) XMPSchema.getIntegerProperty does not return existing value

Posted by "Guillaume Bailleul (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PDFBOX-621?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Bailleul updated PDFBOX-621:
--------------------------------------

    Attachment: XMPSchemaTest.patch
                XMPSchema.patch

XMPSchema.patch is the patch to the main class

XMPSchemaTest.patch is a new test added in the class

> XMPSchema.getIntegerProperty does not return existing value
> -----------------------------------------------------------
>
>                 Key: PDFBOX-621
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-621
>             Project: PDFBox
>          Issue Type: Bug
>          Components: JempBox
>    Affects Versions: 1.0.1
>            Reporter: Guillaume Bailleul
>         Attachments: XMPSchema.patch, XMPSchemaTest.patch
>
>
> In org.apache.jempbox.xmp.XMPSchema, the method getIntegerProperty does not return the expected value.
> The test made in the method is invalid (should expect the opposite value)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.