then you have to write it out as 'D & G'. Anytime the XML stream
parser see a & character, it expects that you are making an entity
reference. & defines the beginning of the entity reference and ;
defines the end. IN your case, it looks like the error was thrown
because the XML had &, then a G but no closing ";" Apaches parsers
have a maximum number of characters they examine before an error is
thrown (if memory serves me correct it is 32). Since most entity
references are less than 5 characters, this should theoretically never
be an issue and the entity handler can safely assume a fatal parsing
error and flag it.
Do you want to send your XML or post it up so we can take a look?
Duane
>> ...
>>
>> read more »
> >