X-CGP-ClamAV-Result: CLEAN X-VirusScanner: Niversoft's CGPClamav Helper v1.22.2a (ClamAV engine v0.102.2) X-Junk-Score: 0 [] X-KAS-Score: 0 [] From: "Jens Schulze" Received: from mr85p00im-zteg06021901.me.com ([17.58.23.194] verified) by post.selbstdenker.com (CommuniGate Pro SMTP 6.3.3) with ESMTPS id 25756890 for webobjects-dev@wocommunity.org; Wed, 21 Apr 2021 19:26:52 +0200 Received-SPF: pass receiver=post.selbstdenker.com; client-ip=17.58.23.194; envelope-from=jens.schulze@icloud.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=1a1hai; t=1619025990; bh=6aFIXNkHpT+zpr1nW+zIiL3PXqydPFm4yb98r4JpucI=; h=From:Content-Type:Mime-Version:Subject:Message-Id:Date:To; b=l8WU28fpovP0BzB0R9tBjDm15wUKB6nxpdunih7e49pipOCbgb9McNmAVT0CAah5W f8dAZ3plAgKgQedf18voIkDttRAtaN18y/FHPxsjZJgTo1U2dglsgnldEme9f/Pjg0 gLt8CJkebTapP91Un2DDiPSkLaTuaG6ItJnPiTwmbQ28CYmblxq1Wgt3jkm4ZksZ7p EWmqLE600OCt/Plbz9IRJWAFqR6dUD56ArjlE8qCD9I0XKarIQY3yyPShvl7RPD3E4 gE/6rHw6qRC0XmqdF5PktnQZYu9dQE2+5oWcig/Xy+vJE6djhyEliGzwyJF+K0dHGu A7VW9XM33CJyQ== Received: from [192.168.1.135] (p549e52bc.dip0.t-ipconnect.de [84.158.82.188]) by mr85p00im-zteg06021901.me.com (Postfix) with ESMTPSA id C23C4720706 for ; Wed, 21 Apr 2021 17:26:29 +0000 (UTC) Content-Type: multipart/alternative; boundary="Apple-Mail=_273DB514-FF0F-49E5-9509-70A15E43ECFD" Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Subject: ERPDFGeneration ... fails with German "umlaute" Message-Id: <7F78FFD3-9A1F-4147-BA66-A97A687877B7@icloud.com> Date: Wed, 21 Apr 2021 19:26:27 +0200 To: WebObjects & WOnder Development X-Mailer: Apple Mail (2.3608.120.23.2.4) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391,18.0.761 definitions=2021-04-21_05:2021-04-21,2021-04-21 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-2009150000 definitions=main-2104210123 --Apple-Mail=_273DB514-FF0F-49E5-9509-70A15E43ECFD Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hello List! I need help! I want to convert a html Page with German characters to PDF = following the =E2=80=9EERPDFExamples=E2=80=9C.=20 As soon as I put a German character in the page the conversion fails: Any help hints are really appreciated! Thanks Jens Schulze ____________________________________________________________ Prof. Dr. Jens Schulze Marketing & Vertrieb M=C3=BCnsterstrasse 265 www.profjens.de = 46397 Bocholt jens.schulze@me.com = 02871-2155 864 jens.schulze@w-hs.de.de = ____________________________________________________________ Caused by: org.apache.xerces.impl.io.MalformedByteSequenceException: = Invalid byte 2 of 4-byte UTF-8 sequence. .. at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(null:Unknown) at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:122) at = er.pdf.builder.FlyingSaucerImpl.setSource(FlyingSaucerImpl.java:100) at er.pdf.ERPDFUtilities.htmlAsPdf(ERPDFUtilities.java:130) at er.pdf.ERPDFWrapper.responseAsPdf(ERPDFWrapper.java:89) HTML ERPDFGeneration Examples Test =C3=B6=C3=A4 ä BUNDLES "CurrentPage" =3D = "er.pdfexamples.components.SimplePDFGeneration1"; "Bundles" =3D { "ERExtensions" =3D "7.1-SNAPSHOT"; "JavaWebObjects" =3D "5.4.3"; "ERPDFExamples" =3D ""; "ERJars" =3D "7.0"; "JavaXML" =3D "5.4.2"; "JavaJDBCAdaptor" =3D "5.4.3"; "WOOgnl" =3D "7.0"; "JavaEOAccess" =3D "5.4.3"; "JavaEOControl" =3D "5.4.2"; "JavaFoundation" =3D "5.4.3"; "JavaWOExtensions" =3D "7.0"; "ERPDFGeneration" =3D "7.0"; "ERPrototypes" =3D "7.0=E2=80=9C; Markus wrote it works with an older version of WONDER (which version?) I even tried to do everything with MAVEN hoping it would solve = dependency issues but there again I ran into problems. git clone git://github.com/wocommunity/wonder.git WonderSource cd WonderSource/ mvn validate -e -X [WARNING] The POM for org.objectstyle.cayenne:cayenne:jar:1.2M12 is = missing, no dependency information available [ERROR] [ERROR] Some problems were encountered while processing the = POMs: [WARNING] 'build.plugins.plugin.version' for = org.apache.maven.plugins:maven-javadoc-plugin is missing. @ line 132, = column 21 [ERROR] Unresolveable build extension: Plugin = org.wocommunity:wolifecycle-maven-plugin:2.3 or one of its dependencies = could not be resolved: Failed to collect dependencies at = org.wocommunity:wolifecycle-maven-plugin:jar:2.3 -> = org.objectstyle.woproject.ant:woproject-ant-tasks:jar:2.0.15 -> = ant:ant-junit:jar:1.6.5 @=20 @=20 [ERROR] The build could not read 1 project -> [Help 1] org.apache.maven.project.ProjectBuildingException: Some problems were = encountered while processing the POMs: [WARNING] 'build.plugins.plugin.version' for = org.apache.maven.plugins:maven-javadoc-plugin is missing. @ line 132, = column 21 [ERROR] Unresolveable build extension: Plugin = org.wocommunity:wolifecycle-maven-plugin:2.3 or one of its dependencies = could not be resolved: Failed to collect dependencies at = org.wocommunity:wolifecycle-maven-plugin:jar:2.3 -> = org.objectstyle.woproject.ant:woproject-ant-tasks:jar:2.0.15 -> = ant:ant-junit:jar:1.6.5 @=20 --Apple-Mail=_273DB514-FF0F-49E5-9509-70A15E43ECFD Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Hello= List!

I need help! = I want to convert a html Page with German characters to PDF following = the =E2=80=9EERPDFExamples=E2=80=9C. 

As soon as I put a German character in = the page the conversion fails:

Any help hints are really = appreciated!

Thanks
Jens Schulze
____________________________________________________________
Prof. Dr. Jens = Schulze
Marketing & Vertrieb
M=C3=BCnsterstrasse 265 www.profjens.de
46397 Bocholt jens.schulze@me.com
02871-2155 864 = jens.schulze@w-hs.de.de
________________________________________________________= ____

Caused by: org.apache.xerces.impl.io.MalformedByteSequenceException= : Invalid byte 2 of 4-byte = UTF-8 sequence.
..
  at = org.apache.xerces.jaxp.DocumentBuilderImpl.parse(null:Unknown)
  at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:122)
  at = er.pdf.builder.FlyingSaucerImpl.setSource(FlyingSaucerImpl.java:100)
  at er.pdf.ERPDFUtilities.htmlAsPdf(ERPDFUtilities.java:130)
  at = er.pdf.ERPDFWrapper.responseAsPdf(ERPDFWrapper.java:89)

HTML
<?xml version=3D"1.0" = encoding=3D"UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 = Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">= ;
<wo:ERPDFWrapper  enabled = =3D "yes" filename = =3D = "SimplePDFGenerationExample1.pdf" >

<html lang = =3D "de-DE">
  = <head>

 =   <title>ERPDFGeneration Examples</title>

  = </head>
  <body>

Test =C3=B6=C3=A4 = &auml;

</body>
</html>
</wo:ERPDFWrapper>

BUNDLES
"CurrentPage" =3D = "er.pdfexamples.components.SimplePDFGeneration1";
= "Bundles" =3D {
= "ERExtensions" =3D "7.1-SNAPSHOT";
= "JavaWebObjects" =3D "5.4.3";
= "ERPDFExamples" =3D "";
= "ERJars" =3D "7.0";
"JavaXML" =3D = "5.4.2";
"JavaJDBCAdaptor" =3D = "5.4.3";
"WOOgnl" =3D = "7.0";
"JavaEOAccess" =3D = "5.4.3";
"JavaEOControl" =3D = "5.4.2";
"JavaFoundation" =3D = "5.4.3";
"JavaWOExtensions" =3D = "7.0";
"ERPDFGeneration" =3D = "7.0";
"ERPrototypes" =3D = "7.0=E2=80=9C;

Markus wrote it works with an older version of WONDER (which = version?)

I even tried to do everything with MAVEN hoping it would = solve dependency issues but there again I ran into problems.


cd WonderSource/

mvn validate -e -X

[WARNING] The POM for = org.objectstyle.cayenne:cayenne:jar:1.2M12 is missing, no dependency = information available
[ERROR] [ERROR] Some problems were encountered = while processing the POMs:
[WARNING]= 'build.plugins.plugin.version' for = org.apache.maven.plugins:maven-javadoc-plugin is missing. @ line 132, = column 21
[ERROR] Unresolveable build extension: = Plugin org.wocommunity:wolifecycle-maven-plugin:2.3 or one of its = dependencies could not be resolved: Failed to collect dependencies at = org.wocommunity:wolifecycle-maven-plugin:jar:2.3 -> = org.objectstyle.woproject.ant:woproject-ant-tasks:jar:2.0.15 -> = ant:ant-junit:jar:1.6.5 @ 
 @ 
[ERROR] The build could not read 1 project = -> [Help 1]
org.apache.maven.project.ProjectBuildingException: Some problems were = encountered while processing the POMs:
[WARNING] = 'build.plugins.plugin.version' for = org.apache.maven.plugins:maven-javadoc-plugin is missing. @ line 132, = column 21
[ERROR] Unresolveable build extension: Plugin = org.wocommunity:wolifecycle-maven-plugin:2.3 or one of its dependencies = could not be resolved: Failed to collect dependencies at = org.wocommunity:wolifecycle-maven-plugin:jar:2.3 -> = org.objectstyle.woproject.ant:woproject-ant-tasks:jar:2.0.15 -> = ant:ant-junit:jar:1.6.5 @ 



= --Apple-Mail=_273DB514-FF0F-49E5-9509-70A15E43ECFD--