White space is significant in xml and we can't blindly strip it out of every
element. A jndi-name is a very arbitrary form and I don't agree that its safe
to strip the white space.

----- Original Message ----- 
From: "Jason Dillon" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 27, 2001 6:18 PM
Subject: [JBoss-dev] [ jboss-Bugs-436550 ] ClassCastException for ENC retrieval (fwd)


> Is there any reason why this should not be done for all values as they are
> loaded from xml into metadata objects?  I ran into a similar problem where
> lookup would fail for something like:
> 
> <res-jndi-name>
>   java:/JmsXA
> </res-jndi-name>
> 
> In this case it would be safe to trim(), but are there cases where it is
> not?
> 
> --jason
> 



_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to