Re: Please confirm parser error concerning ws

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?

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/

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