Hello,
I have encountered a very strange behaviour in ECS. This is what I have
done:
I created a <p> element and added two identically strings to it. Only one
shows when I print it on screen.
Card card = new Card("card1", "A_card");
P p = new P();
p.addElement("hello");
p.addElement("hello");
p.addElement("goodbye");
p.addElement("hello");
card.addElement(p);
Wml wml = new Wml(card);
WmlDocument doc = new WmlDocument(wml);
System.out.println(doc.toString());
This generates:
<?xml version="1.0"?><!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"http:/
/www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card title="A_card" id="card1">
<p>
hello
goodbye
</p>
</card>
</wml>
Isn't this strange?
Cheers,
Anders
--
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]