Nevermind. Even though I downloaded the latest files today. I was accidently
loading an older castor jar file. Correcting the build file took care of the
problem.

-Syed.

-----Original Message-----
From: Syed Wasim Ali [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 06, 2003 5:37 PM
To: [EMAIL PROTECTED]
Subject: [castor-dev] Try2: nspackages=<urn/url> is not working
correctly


Hi,

I posted this message a few days ago and didn't get any responses. Has
anyone else experienced the following? I downloaded the latest code today
from CVS just to see if it may have been fixed recently, but I ran into the
same failures.

>>>>

I noticed at the compilation time that the 'import' 
package definitions in the java code were inserted incorrectly. Here is 
how I set "nspackages" definition in the castorbuilder.properties file:

# XML namespace mapping to Java packages
#
org.exolab.castor.builder.nspackages=\
   urn:oasis:names:tc:SAML:1.0:assertion=a.b.c.assert, \
   urn:oasis:names:tc:SAML:1.0:protocol=a.b.c.prot, \
   http://www.projectliberty.org/schemas/authctx/2002/05=a.b.c.authn, \
   http://www.w3.org/2000/09/xmldsig#=a.b.c.xmldsig

The generated source code shows:

...
import a.b.c.assert urn:oasis:names:tc:SAML:1.0:protocol=a.b.c.prot 
http://www.projectliberty.org/schemas/authctx/2002/05=a.b.c.authn 
http://www.w3.org/2000/09/xmldsig#=a.b.c.xmldsig;
...

Are there any workarounds or alternatives to get the same effect?

thanks,

-Syed

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

Reply via email to