I am trying out ERPDFWrapper but I get this exception:
The markup in the document preceding the root element must be
well-formed.:org.xml.sax.SAXParseException: The markup in the document
preceding the root element must be well-formed.
[2012-1-30 10:8:25 CST] <WorkerThread3>
com.webobjects.foundation.NSForwardException [org.xml.sax.SAXParseException]
The markup in the document preceding the root element must be
well-formed.:org.xml.sax.SAXParseException: The markup in the document
preceding the root element must be well-formed.
at
com.webobjects.foundation.NSForwardException._runtimeExceptionForThrowable(NSForwardException.java:45)
at er.pdf.builder.FlyingSaucerImpl.setSource(FlyingSaucerImpl.java:112)
at er.pdf.ERPDFUtilities.htmlAsPdf(ERPDFUtilities.java:123)
at er.pdf.ERPDFWrapper.responseAsPdf(ERPDFWrapper.java:87)
at er.pdf.ERPDFWrapper.appendToResponse(ERPDFWrapper.java:72)
<webobject name = "PDFWrapper">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta charset="utf-8" />
<title>test</title>
</head>
<body>
<table>
<tr>
<td>
<webobject name = "List" />
</td>
</tr>
</table>
</body>
</html>
</webobject>
What is not well formed?
Thanks
James
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
