Question
In Mapper's "Load Schema", the following error occurs when I specify a DTD file with Japanese element names.
What is the cause and how can I fix it?
「you should check by canParse* method」
java.lang.IllegalStateException: you should check by canParse* method
Answer
When the encoding of the DTD file itself is different from the encoding of the XML declaration in the DTD file, characters will not processed correctly and the error will occur.
Please make sure that these two encodings match.
E.g. DTD file written in Shift-JIS
<?xml version="1.0" encoding="Shift_JIS" ? >
<!ELEMENT Japanese element name (sample+)>
Comments
0 comments
Article is closed for comments.