< and also > are reserved characters, used for tags. u must use &lt; and &gt; instead to protect them from the xml processor.
 
cheers
 
Peter
-----Urspr�ngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 13. M�rz 2002 16:25
An: [EMAIL PROTECTED]
Betreff: Bug in sample dom.Writer ???

Hi !
 
I'm running the sample dom.Writer with Xerces J 2.0.0
 
with this non-well-formed XML document :
 
<?xml version="1.0" encoding="ISO-8859-1"?>
<MailingList>
 <Age> > 60</Age>
</MailingList>
And I don't get an error message.
 
But if I use the "<" character instead of the ">" character, than I get an error message.
 
Is this behaviour normal ?
 
TIA for any answer.
 
 
                           Jean-Guillaume Battaglia.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to