SAX Exception while importing i18n files (Japanese and Korean) | Community
Skip to main content
October 16, 2015

SAX Exception while importing i18n files (Japanese and Korean)

  • October 16, 2015
  • 2 replies
  • 1848 views

We are unable to use Japanese and Korean translations in our project.

When importing/installing the i18n files to CRX, we get a cryptic SAX Exception:
 

[ERROR] Error while parsing <...>\vaultclipse\1416246615305\jcr_root\apps\projectX\i18n\ja.xml: org.xml.sax.SAXException: unknown type: 0 java.lang.IllegalArgumentException: unknown type: 0 [ERROR] E /apps/projectX/i18n/ja (org.xml.sax.SAXException: unknown type: 0 java.lang.IllegalArgumentException: unknown type: 0) E /apps/projectX/i18n/ja (org.xml.sax.SAXException: unknown type: 0 java.lang.IllegalArgumentException: unknown type: 0)


We experience this error with Japanese and Korean files, including their regionalized versions, and when importing via any means (Vaultclipse, File Vault CLI, content-package-maven-plugin, CRX Package Manager).  The files are UTF-8 encoded (without BOM), as are the other 30+ i18n files that we are using.  We have run these files through other SAX parsers without issue.

Is there any way to figure out what's going on here?  Is it a known issue?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

New Participant
June 25, 2024

Special characters in the value field usually cause this. Escaping the special character should fix the issue.

ronnyfm
New Participant
May 5, 2017
        Did you find the cause? Getting the same error with en/es/pt dictionaries.