W3C home > Mailing lists > Public > xmlschema-dev@w3.org > September 2002

Re: Please confirm parser error concerning ws

From: Jeni Tennison <jeni@jenitennison.com>
Date: Mon, 23 Sep 2002 16:06:43 +0100
Message-ID: <14263012652.20020923160643@jenitennison.com>
To: xmlschema-dev@w3.org, rainerbecker.mail@t-online.de (Rainer Becker)

Hello Rainer,

> But if i put any whitespaces into the attribute value, the tells me,
> that "attribute content is invalid according to DTD/Schema". So
> <Final>
>    <Test id="
>             myId
>              "></Test>
> </Final>
> does not work. The parser tells me that "Attribute Value is invalid
> according to Schema"
> The fact is, that ID inherits whitespace="collapse" from the value
> space of token. Additionally, ID inherits the NCName pattern (from
> the value space of NCName)

> Because the whitespace normalization takes place BEFORE the
> attribute value is validated against the schema, the second instance
> should be valid too. Can one confirm please?

That's my understanding of what should happen. Which processor is
complaining about this?



Jeni Tennison
Received on Monday, 23 September 2002 11:14:07 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:15:05 UTC