Eureka! As I feared the problem with my quotes getting escape'd was my
fault. My java code looked something like this:
public String strTable(){
Table t = new Table().setBgColor(HtmlColor.BLUE);
return t.toString();
}
public String strDoc() {
Document doc = new Document()
.appendTitle("Title")
// BAD!!!
.appendBody(strTable());
return doc.toString();
}
By passing the string from strTable, appendBody filtered the strTable
output and esaped the quotes. The code should be:
public String strDoc() {
Document doc = new Document()
.appendTitle("Title");
// GOOD!!!
Body b = doc.getBody();
b.setFilterState(false);
b.addElement(strTable());
return doc.toString();
}
Hopefully this will help the next person who makes this mistake. Or
potentially someone out there can tell me of an even better way to handle
this. Thanks for the help.
Michael Wilson
Software Engineer
SONY PICTURES IMAGEWORKS
9050 W. Washington Blvd. Culver City, CA 90232
phone: (310) 840-8469
cell: (310) 463-1514
pager: (310) 298-6316
email: [EMAIL PROTECTED]
-----Original Message-----
From: jon * [SMTP:[EMAIL PROTECTED]]
Sent: Thursday, January 13, 2000 12:16 PM
To: ECS
Subject: Re: Color Translation Problem
on 1/13/00 12:11 PM, Mike Wilson <[EMAIL PROTECTED]> wrote:
> This is driving me crazy. What am I missing? FYI, I took a look at the
> ecs.properties file and filter seems to already be off.
>
> Mike
I don't see this issue with my version of ECS from CVS.
The only thing I can suggest is trying that.
-jon
--
Come to the first official Apache Software Foundation
Conference! <http://ApacheCon.Com/>
--
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]
--
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]