Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > WXS: whiteSpace

Thread Tools

WXS: whiteSpace

Gustaf Liljegren
Posts: n/a
I've got a few questions about the whiteSpace facet.

1. It seem to differ from the other factes, because it *modifies* the
value instead of checking it. Is this correct?

2. Is this change kept after validation? Will a schema parser report the
value according to the whiteSpace facet? Or is the modified value only
for validation purposes?

3. Does whiteSpace have priority over the other facets? That is, is this
element correct


according to this simple type:

<xsd:simpleType name="something">
<xsd:restriction base="xsd:string">
<xsd:whiteSpace value="collapse"/>
<xsd:length value="4"/>


Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Splitting text at whitespace but keeping the whitespace in thereturned list MRAB Python 3 01-26-2010 11:36 PM
Structure using whitespace vs logical whitespace Python 10 12-16-2008 03:51 PM
Whitespace where I don't want whitespace! Oli Filth HTML 9 01-17-2005 08:47 PM
Div control and additional whitespace Donal McWeeney ASP .Net 2 10-20-2003 02:17 PM
Remove Whitespace when rendering Server Control threecrans ASP .Net 0 07-03-2003 03:25 PM