Hi,

You're right.
I'm using Apache xerces parser (xerces-j 1.4.2).
But I thougth that Castor was using its own version of xerces (1.4.1).
Do I have to "plug" my own parser such that the marshaller will use it?
(how?)

thanks,
regards,
Loic


----- Original Message -----
From: "Arnaud Blandin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 01, 2001 2:25 PM
Subject: Re: [castor-dev] XML Schema: SchemaLocation in Instance document
(XML)


> Hi Loic,
>
> >
> > org.xml.sax.SAXParseException: The markup in the document
> > preceding the root
> > element must be well-formed.
> > java.lang.Object
> > org.exolab.castor.xml.Unmarshaller.unmarshal(org.xml.sax.InputSource)
> > java.lang.Object
> > org.exolab.castor.xml.Unmarshaller.unmarshal(java.io.Reader)
> > java.lang.Object
> > org.exolab.castor.xml.Unmarshaller.unmarshal(java.lang.Class,
> > java.io.Reader)
> > void testCastorMapping.main(java.lang.String[])
> >
> The problem has nothing to do with Castor, as stated you have an error
> during the parsing of your
> XML file. Which parser are you using?
> To check if it is the error, just write a simple test to parse your file.
>
> Hope this helps,
>
> Arnaud
>
> -----------------------------------------------------------
> If you wish to unsubscribe from this mailing, send mail to
> [EMAIL PROTECTED] with a subject of:
> unsubscribe castor-dev
>

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

Reply via email to