base type of token , normalizedString ?? why ?

Discussion in 'XML' started by Rahul, Aug 5, 2003.

  1. Rahul

    Rahul Guest

    I dont' understand why the base type of token as defined in the xml
    schema definition is "normalizedString" instead of "string" .

    <simpleType name="token">
    <restriction base="normalizedString">
    <whiteSpace value = "collapse" />
    </restriction>
    </simpleType>


    <simpleType name="normalizedString">
    <restriction base="string">
    <whiteSpace value = "replace" />
    </restriction>
    </simpleType>


    to me it seems that the definition of 'token' could have been

    <simpleType name="token">
    <restriction base="string">
    <whiteSpace value = "collapse" />
    </restriction>
    </simpleType>

    why was it not defined this way instead ??? what am i missing ??
     
    Rahul, Aug 5, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Cronus
    Replies:
    1
    Views:
    676
    Paul Mensonides
    Jul 15, 2004
  2. Mr. SweatyFinger
    Replies:
    2
    Views:
    2,002
    Smokey Grindel
    Dec 2, 2006
  3. G Fernandes
    Replies:
    1
    Views:
    531
  4. Wessi
    Replies:
    3
    Views:
    862
    Lawrence Kirby
    Aug 11, 2005
  5. =?Utf-8?B?Y2FzaGRlc2ttYWM=?=

    This is an unexpected token. The expected token is 'NAME'

    =?Utf-8?B?Y2FzaGRlc2ttYWM=?=, Jul 13, 2007, in forum: ASP .Net
    Replies:
    2
    Views:
    784
    =?Utf-8?B?Y2FzaGRlc2ttYWM=?=
    Jul 13, 2007
Loading...

Share This Page