Hi Bryan,

It should automatically use the defined prefix for the associated
namespace. Can you provide a small example which demonstrates the
problem you are experiencing.

Thanks,

--Keith

> Bryan Field-Elliot wrote:
> 
> Hi,
> 
> I'm using Castor to marshall/unmarshall XML and it's working great.
> 
> I'm doing interop testing with some other code, and it is expecting
> that all QName values contain their namespace prefix... So:
> 
> <samlp:StatusCode Value="Success"/>
> 
> is what Castor is marshalling, and it's failing on the other side. I
> believe that if I could get Castor to say:
> 
> <samlp:StatusCode Value="samlp:Success"/>
> 
> then I'd have success. But I can't figure out how to get Castor to add
> this prefix. I'm using the Source generator for existing schemas
> (SAML), but am not using any custom mapping file (although I am
> customizing castorbuilder.properties).
> 
> Thank you,
> 
> Bryan

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

Reply via email to