Hi John,

sorry for the late answer, but here we go ....

John Shott wrote:
> Werner and the rest of the Castor community:
> 
> We are in the process of upgrading our use of Castor from version 1.0 to
> 1.3.
> 
> We believe that we have been running into two issues that have (we
> think) been resolved after the release of castor-1.3:
> 
> 1. We think that we have been running into the problem reported in the
> Jira as CASTOR-1236 related to handling of unqualified values of
> QName-typed attributes:
> 
> http://jira.codehaus.org/browse/CASTOR-1236
> 
> 2. Also, because we run castor from a server, a local client (that could
> be started in many different local directories), and as a Java Web Start
> application (where I'm not even sure what "local directory" means), we'd
> like to take advantage of the ability to define the location of the
> castor.properties file as described in the Jira as CASTOR-2613:
> 
> http://jira.codehaus.org/browse/CASTOR-2613
> 
> If I am reading things correctly, the ability to define where the
> castor.properties file is located is located in the recent castor 1.3.1
> snapshots.  
If it's closed (resolved), yes, that's ocrrect.

> It appears, however, if the problem described in CASTOR-1236
> related to handling of unqualified values of QName-typed attributes is
> slated for inclusion in castor 1.3.2.
Yes, that's what Jira seems to indicate. As always, time is the limiting
factor here. Why don't you take the patch, apply it to SVN trunk and
test things. In addition, we need more test cases before we are finally
in a position to commit this. As with open source projects in general,
any help from your side would be appreciated.

Alternatively, professional support might be an option to you .....

> Am I correct in thinking that there is not yet a snapshot release of
> castor 1.3.2? 
Yes. And there won't one until after release of Castor 1.3.1. At least
that's out intention.

> To get and use the fix to CASTOR-1236, would I use the
> HEAD of svn and build my own jars?
Yes, checkout SVN trunk from our SVN repo, try to apply the patch and if
things are fine, build the JARs yourself using Maven.
> 
> Finally, is there an example of how to define the location of the
> castor.properties file if I am using that post-1.3 feature of castor?
Actually, whilst the patch has been committed to add this additional
support, it seems the documentation has not been altered. Mind raising a
follow-up Jira issue ? Basically, looking at the patch attached, you
will have to add a system property to the JVM upon startup, similar to ....

> java -Dorg.castor.properties.custom=<path to your property file>


> 
> Thanks for your consideration,
> 
> John
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
> 
>    http://xircles.codehaus.org/manage_email
> 
> 

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to