Hi Joe,
First of all, thank you very much for your interest to JOnAS.
I'm not sure this is a bug; but I'm not a XML expert !!!
Indeed the second example give the same error as the first one;
as well as the following example
<prim-key-class>
uk.org.rbgkew.sepasal.ejb.data.taxon.TaxonPK
</prim-key-class>
Indeed, in those tree examples, the 'enter' character is included
in the <prim-key-class> value.
On the other hand, the following example work fine
<prim-key-class><!--test trailin
comment-->uk.org.rbgkew.sepasal.ejb.data.taxon.TaxonPK</prim-key-class>
What do the XML experts think about that ??
Kind regards.
H�l�ne.
Joe Gittings wrote:
>
> Dear Jonas team,
>
> Just to let you know, it appears to me that comments in ejb-jar.xml can
> cause problems for GenIC (Jonas 2.0.0). Specifically:
>
> <prim-key-class>
> <!--test leading
> comment-->uk.org.rbgkew.sepasal.ejb.data.taxon.TaxonPK</prim-key-class>
>
> causes the following error:
> ERROR: Primary Key class not found for bean TaxonFacade:
> uk.org.rbgkew.sepasal.ejb.data.taxon.TaxonPK
> GenIC ERROR: When reading the Deployment Descriptors for
> data.taxon.TaxonFacade.
> xml
>
> However,
> <prim-key-class>
> uk.org.rbgkew.sepasal.ejb.data.taxon.TaxonPK<!--test trailing
> comment--></prim-key-class>
>
> works fine. In other words, GenIC falls over if there is a comment
> preceding the prim-key-class value, but doesn't mind if the comment follows
> the value. Both are correct XML, aren't they? Not a critical bug but you
> should know!
>
> Joe
>
> =====================================================================
> Joe Gittings, Royal Botanic Gardens, Kew
> Hanover House, Kew, Richmond, Surrey TW9 3AB
>
> [EMAIL PROTECTED]
> +44 20 8332 5712
> fax: +44 20 8332 5736
>
> ----
> To unsubscribe, send email to [EMAIL PROTECTED] and
> include in the body of the message "unsubscribe jonas-users".
> For general help, send email to [EMAIL PROTECTED] and
> include in the body of the message "help".
--
-=- H�l�ne JOANIN -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
mailto:[EMAIL PROTECTED] http://www.evidian.com
Phone: 33.4.76.29.73.53 Fax: 33.4.76.29.76.00
Download our EJB Server JOnAS at http://www.objectweb.org
----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".