Skip to main content

i18n on xsd xml validation

No replies
aarenas
Offline
Joined: 2011-06-10

[prettify]<span class="kwd">Using the following classes:  mport</span><span class="pln"> javax</span><span class="pun">.</span><span class="pln">xml</span><span class="pun">.</span><span class="pln">validation</span><span class="pun">.</span><span class="typ">Schema</span><span class="pun">;</span><span class="pln"><br /></span><span class="kwd">import</span><span class="pln"> javax</span><span class="pun">.</span><span class="pln">xml</span><span class="pun">.</span><span class="pln">validation</span><span class="pun">.</span><span class="typ">SchemaFactory</span><span class="pun">;</span><span class="pln"><br /></span><span class="kwd">import</span><span class="pln"> javax</span><span class="pun">.</span><span class="pln">xml</span><span class="pun">.</span><span class="pln">validation</span><span class="pun">.</span><span class="typ">Validator</span><span class="pun">;</span><span class="pln">  how can I achieve i18n. For example, would like to display error messages in different languages than english<br /><br /></span>[/prettify]