Hi Romilson,

Sorry for the troubles you are experiencing. Would it be possible for
you to send a complete example (as small as possible, please) that
demonstrates the problem so that we can see first hand what is
happening?

Thanks,

--Keith

> "Romilson C. Carvalho" wrote:
> 
> Hi,
> 
> Castor (0.9.3.19) continues putting ns prefixes in my document.
> I only has changed the version ( 0.9.3.19 by 0.9.3.9 ) and the ns
> prefixes was removed.
> The old version seem is better in this case.
> 
> Marshalling in 0.9.3.19 version:
> 
>       FileWriter fw = new FileWriter( this.documentFile );
>       Marshaller marshaller = new Marshaller( fw );
>       marshaller.setMapping( this.mapping );
>       marshaller.setSchemaLocation( "http://www.metamodel.com/storage
> " + this.schemaFile.getCanonicalPath() );
>       marshaller.setNamespaceMapping( "",
> "http://www.metamodel.com/storage"; );
>       marshaller.marshal( set );
>       fw.close();
> 
> Marshalling in 0.9.3.9 version:
> 
>       FileWriter fw = new FileWriter( this.documentFile );
>       Marshaller marshaller = new Marshaller( fw );
>       marshaller.setMapping( this.mapping );
> 
>       // Ok .. I lost this good function
>       //  marshaller.setSchemaLocation(
> "http://www.metamodel.com/storage " +
> this.schemaFile.getCanonicalPath() );
>       marshaller.setNamespaceMapping( "",
> "http://www.metamodel.com/storage"; );
>       marshaller.marshal( set );
>       fw.close();
> 
> Thanks
> Romilson

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

Reply via email to