Re: [xml-dev] Why does validation fail with a named ENTITY for carriage return and line feed?

From
Martin Honnen <>
To
"" <>
Date
2012-10-24T16:53:08Z
ID
<>
Thread
Re: [xml-dev] Why does validation fail with a named ENTITY for carriage return and line feed?
Costello, Roger L. wrote:

> Now, many email fields must end with CRLF so I declared an XML ENTITY that I can reuse:
>
> <!ENTITY CRLF "&#13;&#10;">

I think you would need
   <!ENTITY CRLF "&#38;#13;&#38;#10;">
to get the result you want when using a reference to that entity CRLF in 
an attribute value.

-- 

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