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

From one error to the next

parent 97b5f8c0
...@@ -55,9 +55,13 @@ public final class XsdString extends XsdAnySimpleType { ...@@ -55,9 +55,13 @@ public final class XsdString extends XsdAnySimpleType {
} }
} }
else { else {
// there is a language tag // there is a language tag ?
ext = val.substring(1, index - 1); if (val.charAt(0) == '"' && val.charAt(index - 1) == '"') {
this.languageTag = val.substring(index + 1, length);; ext = val.substring(1, index - 1);
this.languageTag = val.substring(index + 1, length);;
} else {
this.value = val;
}
} }
} }
......
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