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 2012/06/18 21:38:42 UTC
[jira] [Created] (PDFBOX-1344) xml namespace problem in ResourceRef
Guillaume Bailleul created PDFBOX-1344:
------------------------------------------
Summary: xml namespace problem in ResourceRef
Key: PDFBOX-1344
URL: https://issues.apache.org/jira/browse/PDFBOX-1344
Project: PDFBox
Issue Type: Bug
Components: JempBox
Affects Versions: 1.7.0
Reporter: Guillaume Bailleul
Assignee: Guillaume Bailleul
Priority: Minor
Working on xmpbox and jempbox, I encountered a problem with ResourceRef in jempbox
The attached example fails with current version of jempbox
Reading dom.Element javadoc, I understand that is because le namespaceURI is not good. Changing it to the expected constants fix the problem.
But I am not sure, I understand all the problem... So if someone has 5 minuts to look at it and comment that issue to validate or invalidate the patch ... let do it.
The patch is really short.
Thanks
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Closed] (PDFBOX-1344) xml namespace problem in ResourceRef
Posted by "Guillaume Bailleul (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PDFBOX-1344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Bailleul closed PDFBOX-1344.
--------------------------------------
Resolution: Fixed
Fix Version/s: 1.8.0
Fix done according to Andreas comment (with XMPSchema.NS_NAMESPACE)
> xml namespace problem in ResourceRef
> ------------------------------------
>
> Key: PDFBOX-1344
> URL: https://issues.apache.org/jira/browse/PDFBOX-1344
> Project: PDFBox
> Issue Type: Bug
> Components: JempBox
> Affects Versions: 1.7.0
> Reporter: Guillaume Bailleul
> Assignee: Guillaume Bailleul
> Priority: Minor
> Fix For: 1.8.0
>
> Attachments: JempboxCreateXmpMedia.java, resourceref.patch
>
>
> Working on xmpbox and jempbox, I encountered a problem with ResourceRef in jempbox
> The attached example fails with current version of jempbox
> Reading dom.Element javadoc, I understand that is because le namespaceURI is not good. Changing it to the expected constants fixes the problem.
> But I am not sure, I understand all the problem... So if someone has 5 minuts to look at it and comment that issue to validate or invalidate the patch ... let do it.
> The patch is really short.
> Thanks
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (PDFBOX-1344) xml namespace problem in ResourceRef
Posted by "Guillaume Bailleul (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PDFBOX-1344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Bailleul updated PDFBOX-1344:
---------------------------------------
Attachment: resourceref.patch
JempboxCreateXmpMedia.java
> xml namespace problem in ResourceRef
> ------------------------------------
>
> Key: PDFBOX-1344
> URL: https://issues.apache.org/jira/browse/PDFBOX-1344
> Project: PDFBox
> Issue Type: Bug
> Components: JempBox
> Affects Versions: 1.7.0
> Reporter: Guillaume Bailleul
> Assignee: Guillaume Bailleul
> Priority: Minor
> Attachments: JempboxCreateXmpMedia.java, resourceref.patch
>
>
> Working on xmpbox and jempbox, I encountered a problem with ResourceRef in jempbox
> The attached example fails with current version of jempbox
> Reading dom.Element javadoc, I understand that is because le namespaceURI is not good. Changing it to the expected constants fix the problem.
> But I am not sure, I understand all the problem... So if someone has 5 minuts to look at it and comment that issue to validate or invalidate the patch ... let do it.
> The patch is really short.
> Thanks
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (PDFBOX-1344) xml namespace problem in
ResourceRef
Posted by "Andreas Lehmkühler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PDFBOX-1344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13405964#comment-13405964 ]
Andreas Lehmkühler commented on PDFBOX-1344:
--------------------------------------------
All other similar implementations are using XMPSchema.NS_NAMESPACE which is identical to XMLConstants.XMLNS_ATTRIBUTE_NS_URI. Maybe you should use it too to ensure consistency.
> xml namespace problem in ResourceRef
> ------------------------------------
>
> Key: PDFBOX-1344
> URL: https://issues.apache.org/jira/browse/PDFBOX-1344
> Project: PDFBox
> Issue Type: Bug
> Components: JempBox
> Affects Versions: 1.7.0
> Reporter: Guillaume Bailleul
> Assignee: Guillaume Bailleul
> Priority: Minor
> Attachments: JempboxCreateXmpMedia.java, resourceref.patch
>
>
> Working on xmpbox and jempbox, I encountered a problem with ResourceRef in jempbox
> The attached example fails with current version of jempbox
> Reading dom.Element javadoc, I understand that is because le namespaceURI is not good. Changing it to the expected constants fixes the problem.
> But I am not sure, I understand all the problem... So if someone has 5 minuts to look at it and comment that issue to validate or invalidate the patch ... let do it.
> The patch is really short.
> Thanks
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (PDFBOX-1344) xml namespace problem in ResourceRef
Posted by "Guillaume Bailleul (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PDFBOX-1344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Bailleul updated PDFBOX-1344:
---------------------------------------
Description:
Working on xmpbox and jempbox, I encountered a problem with ResourceRef in jempbox
The attached example fails with current version of jempbox
Reading dom.Element javadoc, I understand that is because le namespaceURI is not good. Changing it to the expected constants fixes the problem.
But I am not sure, I understand all the problem... So if someone has 5 minuts to look at it and comment that issue to validate or invalidate the patch ... let do it.
The patch is really short.
Thanks
was:
Working on xmpbox and jempbox, I encountered a problem with ResourceRef in jempbox
The attached example fails with current version of jempbox
Reading dom.Element javadoc, I understand that is because le namespaceURI is not good. Changing it to the expected constants fix the problem.
But I am not sure, I understand all the problem... So if someone has 5 minuts to look at it and comment that issue to validate or invalidate the patch ... let do it.
The patch is really short.
Thanks
> xml namespace problem in ResourceRef
> ------------------------------------
>
> Key: PDFBOX-1344
> URL: https://issues.apache.org/jira/browse/PDFBOX-1344
> Project: PDFBox
> Issue Type: Bug
> Components: JempBox
> Affects Versions: 1.7.0
> Reporter: Guillaume Bailleul
> Assignee: Guillaume Bailleul
> Priority: Minor
> Attachments: JempboxCreateXmpMedia.java, resourceref.patch
>
>
> Working on xmpbox and jempbox, I encountered a problem with ResourceRef in jempbox
> The attached example fails with current version of jempbox
> Reading dom.Element javadoc, I understand that is because le namespaceURI is not good. Changing it to the expected constants fixes the problem.
> But I am not sure, I understand all the problem... So if someone has 5 minuts to look at it and comment that issue to validate or invalidate the patch ... let do it.
> The patch is really short.
> Thanks
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira