[Home] [By Thread] [By Date] [Recent Entries]

  • From: Martin Honnen <Martin.Honnen@g...>
  • To: John Cowan <cowan@m...>
  • Date: Wed, 24 Oct 2012 19:12:45 +0200

John Cowan wrote:
> Martin Honnen scripsit:
>
>> Well http://www.w3.org/TR/REC-xml/#AVNormalize says "For a character
>> reference, append the referenced character to the normalized value."
>
> True but irrelevant, since the characters are coming in from an entity, in
> which they are not NCRs any more, since they have already been expanded.

Well it is relevant to the part of Roger's mail I quoted, namely

> Why doesn't this:
>
> <xs:pattern value="From:[a-z]+@[a-z\.]+&#13;&#10;"/>
>
> also normalize to this:
>
> <xs:pattern value="From:[a-z]+@[a-z\.]+  "/>

So in that part there are no entity references, there are character 
references instead in an attribute value.

-- 

	Martin Honnen --- MVP Data Platform Development
	http://msmvps.com/blogs/martin_honnen/


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member