Are you using any bindings or such ?

I am not.

Thanks
James



On Jan 30, 2012, at 10:27 AM, Michael Hast wrote:

> 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 protected])
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/webobjects-dev/mhast%40desertsky.com
>> 
>> This email sent to [email protected]
> 
> -- 
> 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 protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/james%40jimijon.com
> 
> This email sent to [email protected]

Attachment: 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]

Reply via email to