A percent character (%) is allowed to appear in the
character data of an XML document.
For example, the following XML document is well-formed:
<?xml version=“1.0”?>
<doc>110%</doc>
Within a DTD, the percent character (%) may only be used
to declare and reference parameter entities. Any other
percent characters within a DTD must be encoded using
character references (e.g., “%”).
For example, the following XML document, which is
equivalent to the XML document above, is well-formed,
since it encodes the percent character as “%”:
<?xml version=“1.0”?>
<!DOCTYPE doc [
<!ENTITY percent “110%”>
]>
<doc>&percent;</doc>
The following XML document is not well-formed, since
its DTD contains a percent character that is not used
to declare or reference a parameter entity.
<?xml version=“1.0”?>
<!DOCTYPE doc [
<!ENTITY percent “110%”>
]>
<doc>&percent;</doc>
Hope this helps.
Bob
#webMethods#Integration-Server-and-ESB#Flow-and-Java-services