EDN Admin
Well-known member
Hello,
how should I define a simple type in schema that would allow the xml attribute to contain say exactly one character? I have tried both xs:length value="1" and xsattern="." but neither of these allow a character from higher Unicode planes, i.e. surrogate
pairs in case of utf-16 encoding. Switching to utf-32 encoding of xml did not help either.
Any other ideas?
Thanks,<br/>
Jan
<br/>
View the full article
how should I define a simple type in schema that would allow the xml attribute to contain say exactly one character? I have tried both xs:length value="1" and xsattern="." but neither of these allow a character from higher Unicode planes, i.e. surrogate
pairs in case of utf-16 encoding. Switching to utf-32 encoding of xml did not help either.
Any other ideas?
Thanks,<br/>
Jan
<br/>
View the full article