OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   RE: [xml-dev] How to escape &dt=... (org.dom4j.DocumentException)

[ Lists Home | Date Index | Thread Index ]

> One of my xml nodes contains an url that contains the text &dt=...
> When I try to parse this via DocumentHelper.parseText I get 
> the following exception:
> org.dom4j.DocumentException: Error on line 21 of document  : 
> The reference to entity "dt" must end with the ';' delimiter. 

Either the text contains & rather than & - or you have put the text
through the parser twice.

Michael Kay


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS