Immediately prior to marshalling, pass your schema location to either
of these methods:
Marshaller#setNoNamespaceSchemaLocation()
Marshaller#setSchemaLocation().

Be sure _not_ to use the static marshal() methods on the Marshaller.

--Erik

      > -----Original Message-----
      > From: Haug, Wolfgang 
      > [mailto:[EMAIL PROTECTED] 
      > Sent: Wednesday, December 17, 2003 3:55 AM
      > To: [EMAIL PROTECTED]
      > Subject: [castor-dev] Schemareference missing in marshalled file
      > 
      > 
      > Hi, 
      > Using castor, I try to marshal an object model into a file. 
      > It works fine but the reference to the XML Schema file 
      > is missing 
      > (xsi:noNamespaceSchemaLocation="../EaseeSchema/easeeSche
      > ma/EdmWfeSchema.xsd">)
      > 
      > Is there a possibility to lead castor to marshal into a 
      > file that contains the schemareference? 
      > 
      > Thanks 
      > Wolfgang 
      > 
      > 
      > 
      > --------------------------------------------
      > > Dipl.-Ing.(BA) Wolfgang Haug
      > > 
      >         Software Development Engineer (PPT3)
      > > Vector Consulting GmbH
      > > Ingersheimer Str. 24
      > > 70499 Stuttgart
      > > Tel: 0711 80670-283
      > > Fax: 0711 80670-444
      > > Mailto:[EMAIL PROTECTED]
      > > Internet: http://www.vector-consulting.de
      > --------------------------------------------
      > 
      > ----------------------------------------------------------- 
      > 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