• Font Size
  • S
  • M
  • L

Search via FAQ No.


  • No : 24404
  • Open Date : 2016/06/13 14:16
  • Print

[DataSpider Servista] Error occurs in [Read Schema] of Mapper

In "Read Schema" of Mapper, the following error occurs when specifying a DTD file that describes the Japanese element name. Explain the cause and counter measure?

"DTD file read failure. Check file."
Details: java.lang.IllegalStateException: you should check by canParse* method
Category : 

Answer

When the encoding of the DTD file and the encoding of the DTD file wherein XML declaration is done differs then, the character could not be processed normally and an error is generated. Synchronize both of these 2 character codes.
 
Example) When describing DTD file with Shift-JIS
 
<?xml version="1.0" encoding="Shift_JIS" ?>
<!ELEMENT Japanese element name (sample+)>