[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] Why does validation fail with a named ENTITY for carriagereturn and line feed?
- From: Martin Honnen <Martin.Honnen@gmx.de>
- To: John Cowan <cowan@mercury.ccil.org>
- 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\.]+ "/>
>
> 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]