Hi

I am a new user to castor and am trying to marshall an xml document.

I have created the java object to marshall and created an xml document from
it using Jbuilder7 as a test.  However, then i try to do the same test in my
application using the same mapping.xml file.  the only thing different is
the class name of the value object.

I compile the files into a jar file and drop them onto weblogic 7.  Then try
to marshall my document using castor.  I have all the jars xalan, xerces,
castor on my weblogic classpath.

When i run the test i get the following exception:

loading/config/xml/RemandOrderMapping.xml
DEBUG uk.gov.courtservice.framework.services.xml.XMLServicesImpl - caught
Mappingexceptionorg.exolab.castor.mapping.MappingException: Nested error:
org.xml.sax.SAXException: Parsing Error : The markup in the document
preceding the root element must be well-formed.
Line : 1
Column : 10

can anybody help with this as it is driving me up the wall!

Thanks
Faisal

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to