Re: Meaning of length pattern in hexBinary and base64Binary

Hi Jochen,

> what is constrained by xs:pattern in a binary type? Is it the number
> of characters in the input string or the number of generated bytes?

In Validation Rule: Length Valid it says:

  "1.2 if {primitive type definition} is hexBinary or base64Binary,
       then the length of the value, as measured in octets of binary
       data, must be equal to {value};"

So it's the number of generated bytes.

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/

Received on Friday, 30 May 2003 04:36:03 UTC