The parser used is the first one found in the classpath...
But I don't think the problem comes from the version of the parser,
have you tried to only parse your xml file?
If you don't solve the problem, send me your schema and xml.

Arnaud

> -----Original Message-----
> From: Loic L'Heveder [mailto:Loic.L'[EMAIL PROTECTED]]
> Sent: Wednesday, August 01, 2001 4:04 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [castor-dev] XML Schema: SchemaLocation in Instance
> document (XML)
> 
> 
> 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

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

Reply via email to