cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Abhishek Goel <>
Subject xsp generating xml
Date Fri, 26 Jul 2002 15:18:45 GMT
i am generating my xml through xsp.
xml generated is like this(it's an examle of that tpe as original xml is
very large)

<?xml version="1.0" encoding="UTF-8" ?>
- <message xmlns:xsp="">

when i am passing this to sitemap  i am getting the error

"org.xml.sax.SAXParseException: The markup in the document preceding the
root element must be well-formed."
this is because of the "-" sign before <message> element.because as soon
as i remove that manually it works fine.

my xsp is

<?xml version="1.0"?>

<xsp:page language="java" xmlns:xsp="" >
 <name>Hello in !</name></message>

could any one suggest me how to get rid of this error.
Thanks and regards

View raw message