[XML-SIG] "&" and "<" within a string

wask@mcc.com wask@mcc.com
Tue, 13 Jul 1999 14:32:30 -0500


saxlib is throwing exceptions when I use "&" and "<" literally within an
attribute value of type string, as it should.

For example,

	<tag> name= "R&D library" value="<ROOT>/lib" />

The XML spec says to use "&amp;" and "&lt;" when used literally in string.
However, if I define

	<tag> name= "R&amp;D library" value="&lt;ROOT>/lib" />

I still get an exception (apparently, the parser accepts the ">" and "/").

Am I interpreting the spec correctly? Any suggestions?

Thanks,

Fred