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