Hi there once again.  I'm bad about raising these questions and then not 
being able to stay on the task long enough to work through the solution 
with all of your excellent and very appreciated help, but I'll try to make 
this one quick and simple.  I'm using a cfinclude within a cfdocument tag 
to allow users to save / screenshot certain pages to PDF with the click of 
a button.  This worked great until the "notes" textarea of one of the pages 
included less-than and greater-than signs.  When looking at the page 
itself, that doesn't interfere with anything because it's inside a 
textarea, but when that same code tries to go through the cfdocument, I get 
a "Failed to create valid xhtml document due to 
org.xml.sax.SAXParseException: Premature end of file.".  Obviously I could 
just replace out the naughty symbols from the notes variable that's going 
into the textarea, but I was just wondering if there was a more elegant 
solution.  I was thinking URLEncodedFormat or some such would NOT help me 
out because it would cause the textarea in the PDF to display the '&' codes 
instead of what the user actually expects to see in the notes area.

-- 
online documentation: http://openbd.org/manual/
 http://groups.google.com/group/openbd?hl=en

Reply via email to