← Prev in month ← Prev in thread

xs:string - Isn't whitespaces preserved by default?

From
dave <>
To
,
Date
2008-02-28T00:57:36Z
ID
<>
Thread
xs:string - Isn't whitespaces preserved by default?
I have an xs:string type element to hold some regex
expressions. I haven't put any restrictions/facets for
this xs:string type. Isn't by default, it should
preserve whitespace? Looks like the leading and
trailing spaces are removed when I generate an XML
using XmlBeans apis.

In general, what is the better XSD data type to hold
regex patterns? Is it just xs:string OR should I
explicitly preserve Whitespace for this xs:string?


      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
← Prev in month ← Prev in thread