Re: [xml-dev] Why is < illegal in an attribute value but the equivalent hex and decimal character entities are legal?

From
Michael Kay <>
To
Roger L Costello <>
Date
2022-03-17T00:04:16Z
ID
<>
Thread
Re: [xml-dev] Why is < illegal in an attribute value but the equivalent hex and decimal character entities are legal?
> 
> Questions:
> 1. Why is it that < is illegal but the equivalent hex and decimal character entities are legal?

When you say "why?", do you mean "what rule does it violate?", or do you mean "why did the designers of the spec choose to include that rule?"

And if the latter, do you mean "why might they have thought it was a good idea?", or do you mean "is there any documented evidence of the rationale they applied when making the decision?".

Michael Kay
Saxonica