• 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: PDFWrapper Error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PDFWrapper Error


  • Subject: Re: PDFWrapper Error
  • From: Michael Hast <email@hidden>
  • Date: Mon, 30 Jan 2012 09:27:37 -0700

Hi James:

I copied and pasted the HTML below in my ERPDFWrapper page and it works. I had to remove the tag <webobject name="List"/> because there was no WOD definition. So my question is what does List return?

Otherwise it looks well-formed.

Michael.

On 1/30/2012 9:10 AM, James Cicenia wrote:
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)




<webobjectname="PDFWrapper">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd";>
<htmlxmlns="http://www.w3.org/1999/xhtml"xml:lang="en";>
<head>
<metacharset="utf-8"/>
<title>test</title>
</head>
<body>
<table>
<tr>
<td>
<webobjectname="List"/>
</td>
</tr>
</table>
</body>
</html>
</webobject>


What is not well formed?

Thanks
James




  _______________________________________________
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

--
Tel: (602) 279-4600 ext: 635
Desert Sky Software: www.desertsky.com
    Specializing in the Development and Hosting of
    e-Business Applications.
_______________________________________________
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


  • Prev by Date: Re: D2W, EditingContext, WORequest
  • Next by Date: looking for example
  • Previous by thread: Documentation Meetup in 20 minutes
  • Next by thread: Re: PDFWrapper Error
  • Index(es):
    • Date
    • Thread