Skip to main content

XML problem in Java Logger

1 reply [Last post]
nachiket_patel
Offline
Joined: 2007-02-03

i created simple java logger, which logs into files as XML using XMLFormatter...
now the XML generated by Logger is not opened in Explorer...
it gives error on second line...because no comment..

How to get it correct????
------------------------------------------------------------------
<?xml version="1.0" encoding="windows-1252" standalone="no"?>
<----HERE IT GIVES ERROR

2007-03-10T11:19:48
1173505788328
3
SYMS
SEVERE
data.MyLogger
logStatement
10
YO MY LOGGER WORKS

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
tarbo
Offline
Joined: 2006-12-18

IE isn't big on system DTDs. It can't even handle the W3C ones.

Try another browser, like Firefox, Safari, Opera, see whether they give errors.