Commit beffd63d authored by Bernd Kiefer's avatar Bernd Kiefer
Browse files

And to the next

parent 95727970
...@@ -45,7 +45,7 @@ public final class XsdString extends XsdAnySimpleType { ...@@ -45,7 +45,7 @@ public final class XsdString extends XsdAnySimpleType {
// no suffix "^^<xsd:string>" // no suffix "^^<xsd:string>"
int index = val.lastIndexOf('@'); int index = val.lastIndexOf('@');
final int length = val.length(); final int length = val.length();
if (index == -1) { if (index == -1 || index < 2) {
// no language tag // no language tag
if (val.charAt(0) == '"' && if (val.charAt(0) == '"' &&
val.charAt(val.length() - 1) == '"') { val.charAt(val.length() - 1) == '"') {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment