• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: ERPDFWrapper ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ERPDFWrapper ?


  • Subject: Re: ERPDFWrapper ?
  • From: Paul Hoadley <email@hidden>
  • Date: Tue, 23 Dec 2014 09:15:49 +1030

Hi James,

On 18 Dec 2014, at 8:33 am, James Cicenia <email@hidden> 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@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: ERPDFWrapper ?
      • From: Ramsey Gurley <email@hidden>
References: 
 >ERPDFWrapper ? (From: James Cicenia <email@hidden>)

  • Prev by Date: Re: Facebook login component?
  • Next by Date: Re: ERPDFWrapper ?
  • Previous by thread: Re: ERPDFWrapper ?
  • Next by thread: Re: ERPDFWrapper ?
  • Index(es):
    • Date
    • Thread