Parser Loading Error

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Parser Loading Error

Gerhard Fobe
If I try to add a rdf:Description within a property having some
attribute rdf:type (e.g. ex:value), I get a java.lang.NullPointerException.


<?xml version="1.0" encoding="utf-8" ?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:ex="http://example.org/">
        <rdf:Description>
                <ex:value rdf:type="http://example.net/">
                        <rdf:Description>
                                <ex:value2>42</ex:value2>
                        </rdf:Description>
                </ex:value>
        </rdf:Description>
</rdf:RDF>