Skip to Content
0
Former Member
May 31, 2005 at 04:17 AM

how to suppress the html comment at start of output

27 Views

Hi,

Does anyone know how to suppress the html comment that ITS inserts at the beginning of the response content.

i.e.:

-


<!--

This page was created by the

SAP Internet Transaction Server (ITS, Version 6100.1030.61.1891, Build 610.611891, Virtual Server SY1, WGate-AGate Host aauwsd00, WGate-Instance SY1)

...

Template: znc_xworktime/99/xml.html -->

-


This appears to be causing havoc with the applet's XML parser...

-


org.jdom.input.JDOMParseException: Error on line 8: XML declaration may only begin entities.

at org.jdom.input.SAXBuilder.build(SAXBuilder.java:468)

at org.jdom.input.SAXBuilder.build(SAXBuilder.java:770)

at com.alcatel.ontap.applets.timesheet.TimesheetTableLoader.run(TimesheetTableLoader.java:75)

Caused by: org.xml.sax.SAXParseException: XML declaration may only begin entities.

at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3376)

at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3364)

at org.apache.crimson.parser.Parser2.maybePI(Parser2.java:1140)

at org.apache.crimson.parser.Parser2.maybeMisc(Parser2.java:1266)

at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:654)

at org.apache.crimson.parser.Parser2.parse(Parser2.java:337)

at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)

at org.jdom.input.SAXBuilder.build(SAXBuilder.java:453)

... 2 more

-