When trying to import wordnet 2.0 RDF into Neo4J through neosemantics neosemantics extension for import queries with more than 64,000 records to be imported JDK throws below exception and only about 50000 records are imported.
JAXP00010001: The parser has encountered more than "64000" entity expansions in this document; this is the limit imposed by the JDK. [line 1, column 1]
On looking I found that entityExpansionLimit parameter's value has to be changed. The default value of entityExpansionLimit after JRE 1.7_45 is 64000
To set this in Neo4j do the following;
dbms.jvm.additional=-Djdk.xml.entityExpansionLimit=0
------OR-------
dbms.jvm.additional=-Djdk.xml.entityExpansionLimit=0
and save the file.You can rerun your query.
Hope it helps and saves time for those who run into same error.