[redland-dev] XML special characters

Dave Beckett dave.beckett at bristol.ac.uk
Fri Mar 28 10:35:57 GMT 2003


>>>Jason Johnston said:
> 
> I'm running into a problem when parsing and re-serializing XML Literals, 
> where special characters such as ampersands and angle brackets are not 
> serialized as entity references as they should be, so the result is 
> invalid XML.
> 
> See the example below.  The file parsed in is identical to the 
> serialized result, except the "&amp; &gt; &lt;" becomes "& > <".

This is now fixed in the Raptor CVS so will be in the next release of
Raptor 0.9.9 and Redland (since it uses Raptor).

Dave



More information about the redland-dev mailing list