abdera-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James M Snell (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (ABDERA-24) NPE thrown on invalid service document
Date Wed, 06 Dec 2006 19:36:23 GMT
     [ http://issues.apache.org/jira/browse/ABDERA-24?page=all ]

James M Snell resolved ABDERA-24.
---------------------------------

    Resolution: Fixed

checked in a fix to the trunk to avoid the NPE

> NPE thrown on invalid service document
> --------------------------------------
>
>                 Key: ABDERA-24
>                 URL: http://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.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message