mgov88 commented on a change in pull request #227: URL: https://github.com/apache/gora/pull/227#discussion_r513835747
########## File path: gora-lucene/src/test/conf/gora-lucene-mapping.xml ########## @@ -16,7 +16,8 @@ limitations under the License. --> -<gora-otd> +<gora-otd xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:noNamespaceSchemaLocation="gora-lucene.xsd"> Review comment: I developed a test. When a bad XML file is parsed this exception triggers: `org.apache.gora.util.GoraException: java.io.IOException: Unable to read gora-lucene-mapping-bad.xml at org.apache.gora.lucene.store.TestLuceneStore.testXSDValidation(TestLuceneStore.java:178) Caused by: java.io.IOException: Unable to read gora-lucene-mapping-bad.xml at org.apache.gora.lucene.store.TestLuceneStore.testXSDValidation(TestLuceneStore.java:178) Caused by: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'Field'. One of '{primarykey}' is expected. at org.apache.gora.lucene.store.TestLuceneStore.testXSDValidation(TestLuceneStore.java:178)` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org