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

James M Snell closed ABDERA-24.
-------------------------------


> NPE thrown on invalid service document
> --------------------------------------
>
>                 Key: ABDERA-24
>                 URL: https://issues.apache.org/jira/browse/ABDERA-24
>             Project: Abdera
>          Issue Type: Bug
>            Reporter: Elias Torres
>            Priority: Minor
>
> I found an NPE being thrown when giving Abdera an invalid service document. 
> Notice the workspace @title instead of a child atom:title.
> <?xml version="1.0" encoding="UTF-8"?>
> <service xmlns="http://purl.org/atom/app#"; 
> xmlns:atom="http://www.w3.org/2005/Atom";>
>   <workspace title="WordPress Experimental Workspace">
>     <collection href="http://lobo/wordpress/app.php/posts";>
>       <accept>entry</accept>
>       <atom:title>WordPress Posts</atom:title>
>     </collection>
>     <collection href="http://lobo/wordpress/app.php/attachments";>
>       <accept>image/*,audio/*,video/*</accept>
>       <atom:title>WordPress Media</atom:title>
>     </collection>
>   </workspace>
> </service>

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

Reply via email to