I am having an xml file that may look like this:
<unclassified>
WOOD FIRM FINED #30,000 OVER TEEN'S LOST ARM<
</unclassified>
.dtd declaration:
<!ELEMENT unclassified (#PCDATA)>
Unfortunately this does not seem to work since I'm always getting an error like this:
[Fatal Error] arm1sub.sgml:14:46: The content of elements must consist of well-formed character data or markup.
org.xml.sax.SAXParseException; systemId: file:/home/sfalk/workspace/project/target/classes/meter_corpus/PA/annotated/courts/12.07.99/arm/arm1sub.sgml; lineNumber: 14; columnNumber: 46; The content of elements must consist of well-formed character data or markup.
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:257)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:348)
at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:205)
How can I make this work? I hope this is somehow doable without manipulating my .xml files ..