Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SAX Exception while importing i18n files (Japanese and Korean)

Dave_Hughes
Level 4
Level 4

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?

1 Reply
ronnyfm
Level 4
Level 4
        Did you find the cause? Getting the same error with en/es/pt dictionaries.