Locale specific messages in Xerces 2.11.0 (Java)
问题 I want to use locale specific error messages with my JAXP and Xerces2. By default only English messages are available. First step is to retrieve the messages files and put them into the package "org/apache/xerces/impl/msg/" - done. By using Locale.setDefault (Locale.GERMANY) the German messages are displayed so this is working. But I want the messages to be differently localized on a per-instance basis. So one parser should return English messages and another parser should return German