W3C home > Mailing lists > Public > www-rdf-validator@w3.org > January 2018

Exception parsing: java.lang.NullPointerException

From: Andrew Houghton <kayak.blues@gmail.com>
Date: Thu, 11 Jan 2018 18:36:37 -0500
Message-ID: <CAGv9jT1+Ev3+MQagttsiVo2p1P7YkVkXA=G6+sntLaH2eoK-Xw@mail.gmail.com>
To: www-rdf-validator@w3.org
report=Originally I had both rdf:parseType="Resource" and rdf:type on the
<array> element and the validation service said only one of them should be
used, so I removed rdf:parseType and got the java exception.
RDF=<?xml version="1.0"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
  <resource xmlns="https://localhost/#">
    <array rdf:type="http://localhost/obj1">
      <elements rdf:parseType="Collection">
        <element>
          <value rdf:datatype="http://www.w3.org/2001/XMLSchema#string
">abc</value>
        </element>
        <element>
          <value rdf:datatype="http://www.w3.org/2001/XMLSchema#double
">123.34</value>
        </element>
      </elements>
    </array>
  </resource>
</rdf:RDF>
Received on Friday, 12 January 2018 18:00:08 UTC

This archive was generated by hypermail 2.4.0 : Friday, 20 January 2023 20:17:02 UTC