incubator-sanselan-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kelly Boettcher (JIRA)" <j...@apache.org>
Subject [jira] Updated: (SANSELAN-18) Sanselan 0.97 - GIF Parser facilities return null values for xmp
Date Tue, 24 Feb 2009 05:30:01 GMT

     [ https://issues.apache.org/jira/browse/SANSELAN-18?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Kelly Boettcher updated SANSELAN-18:
------------------------------------

    Attachment: TestGIF.gif

> Sanselan 0.97 - GIF Parser facilities return null values for xmp
> ----------------------------------------------------------------
>
>                 Key: SANSELAN-18
>                 URL: https://issues.apache.org/jira/browse/SANSELAN-18
>             Project: Sanselan
>          Issue Type: Bug
>         Environment: Windows XP, JDK 1.5
>            Reporter: Kelly Boettcher
>         Attachments: TestGIF.gif
>
>
> When attempting to use both core Sanselan methods and GIFParser methods, attempts to
retrieve XMP is resulting in null values. Example code below:
> File file;
> InputStream is;
> byte[] b;
> file = new File("C:/data/test.gif");
> is = new FileInputStream(file);
> b = new byte[is.available()];
> is.read(b);
> is.close();
> 		    
> /* Testing the Sanselan getXMP */		    
> String xmp = Sanselan.getXmpXml(file); // returns null
> System.out.println(xmp);
> 		    
> /* Testing the GIF image parser's xmp capabilities */
> GifImageParser parser = new GifImageParser();
> ByteSource bs = new ByteSourceArray(b);
> String existingXMP = parser.getXmpXml(bs, null); // returns null
> System.out.println(existingXMP);

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


Mime
View raw message