> The problem appears to have been caused by a missing lib...the
      > apache/jakarta regex library.  The funny thing is that 
      > 1.4.2 didn't give
      > me correct exception reporting.  I ended up adding 
      > xerces to 1.3.1 and
      > running my program.  I then notice a new exception 
      > message I had not
      > gotten before.  Then I find my regex lib and include 
      > that and it worked
      > fine in 1.3.1.  Then I thought well lets run it with 
      > 1.4.2 and see if we
      > can get it to run...and sure enough it ran like a 
      > champ.  This may very
      > well be a bug in 1.4.2 in it's stack reporting.  I 
      > don't know, but it is
      > working now.  
that's interesting.

      > The only other problem I'm having now is 
      > the output xml
      > does not have the namespaces included.  Has this 
      > already been post to
      > the list?  Does anyone have the answer?  I have been 
      > looking in the
      > properties files, but don't see anything that 
      > insinuates I can force
      > outputting the namespaces...
Are you using mapping file?  binding file? Neither?
Here's how I get namespaces in my output.
I use neither a mapping file nor a binding file.
I specify the namespace in the targetNamespace attribute in the schema.
I use the nspackages property to associate a ns w/ a java package.
This generates all value objects for a single ns into a single java package.
To designate a prefix for each used namespace (it's rather ugly w/o this), use 
myMarshaller.setNamespacePrefix().


Erik

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

Reply via email to