The entity name must immediately follow the '&' in the entity ref erence

Hi All,
	I have created one xml schema file where I have specified one
element following way:
----------------------------------------------------------------------------
-------------------------------------
	<?xml version = "1.0"?>
	<xsd:schema xmlns:xsd ='http://www.w3.org/2001/XMLSchema'>
	<xsd:element  name = "roleName">
		<xsd:simpleType>
			<xsd:restriction base = "xsd:string">
				<xsd:minLength 	value=	"1"/>
				<xsd:maxLength 	value=	"100"/>

			</xsd:restriction>
		</xsd:simpleType>
	</xsd:element>
----------------------------------------------------------------------------
---------------------------------------

Now if I validate an xml file where 'roleName' element contain following
expression : "Jenson & Nicholson", I get following error:
"Stopping after fatal error: The entity name must immediately follow the '&'
in the entity reference" .
So, It seems that though the type of the element roleName is set as
xsd:string, It does not allow '&' sign to be contained.
If you could please suggest me how to solve this problem I will be highly
obliged.
Thanks and Best Regards,
Dibyendu Roy

Received on Saturday, 1 September 2001 06:28:43 UTC