ACTION-175 Pattern for QName Serialization

Here is a simple type for QName Serialization

<simpleType name='QNameSerialization'>
  <restriction base='string'>
   <pattern value='{.*}.+'/>
  </restriction>
</simpleType>

The pattern says " { followed by zero or more characters, followed by } followed
by one or more characters".  This assumes that the namespace URI can be empty
but the local name cannot be empty.


-- 
All the best, Ashok

Received on Wednesday, 2 February 2011 03:47:18 UTC