Service document without XML base causes NullPointerException. Service
documents without xmlbase are allowed by Atom Publishing Protocol (RFC 5023
2.1.3.).
What steps will reproduce the problem?
1. Create in odata consumer and try read entityset count
consumer.getEntitySets().count()
What is the expected output? What do you see instead?
Expected output is 2
Result is NullPointerException
What version of the product are you using? On what operating system?
0.7, Windows
Please provide any additional information below.
Example service document:
<?xml version="1.0" encoding="UTF-8"?>
<service xmlns="http://www.w3.org/2007/app"
xmlns:atom="http://www.w3.org/2005/Atom">
<workspace>
<collection href="http://vnote:8080/InfoBaseOdata/odata/infobase.odata/Catalogs_Магазин">
<atom:title>Catalogs_Shops</atom:title>
</collection>
<collection href="http://vnote:8080/InfoBaseOdata/odata/infobase.odata/Catalogs_Регионы">
<atom:title>Catalogs_Regions</atom:title>
</collection>
</workspace>
</service>
Original issue reported on code.google.com by vbkudria...@gmail.com on 4 May 2013 at 8:53
Original issue reported on code.google.com by
vbkudria...@gmail.com
on 4 May 2013 at 8:53