Hi James,

On 18 Dec 2014, at 8:33 am, James Cicenia <[email protected]> wrote:

> But then when I run the page:
> 
> ListPageInterface newListPage = (ListPageInterface) 
> D2W.factory().pageForConfigurationNamed("ListCustomPDF"+entityName, 
> session());
> 
> It blows up;
> 
> com.webobjects.foundation.NSForwardException [org.xml.sax.SAXParseException] 
> The markup in the document following the root element must be 
> well-formed.:org.xml.sax.SAXParseException: The markup in the document 
> following the root element must be well-formed.

Whatever you feed to ERPDFWrapper needs to be strictly valid XHTML.  It's also 
oddly sensitive about leading and trailing whitespace—so make sure there is 
none.

> Is there a way to debug this?

You need to eyeball the content that's being wrapped by ERPDFWrapper—maybe take 
the ERPDFWrapper component out and see what the content is without it.  If 
you're just trying to wrap whatever D2W is producing, I'd be extremely 
surprised if that was valid XHTML.  Is that what you're doing there?


-- 
Paul Hoadley
http://logicsquad.net/


 _______________________________________________
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]

Reply via email to