Re: [JBoss-dev] [ jboss-Bugs-436550 ] ClassCastException for ENC retrieval (fwd)
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: > > > java:/JmsXA > > > 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
Re: [JBoss-dev] [ jboss-Bugs-436550 ] ClassCastException for ENC retrieval (fwd)
Its an unbounded set of names and access protocols so how should I know? - Original Message - From: "Jason Dillon" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 27, 2001 7:32 PM Subject: Re: [JBoss-dev] [ jboss-Bugs-436550 ] ClassCastException for ENC retrieval (fwd) > Is it possible to specify a JNDI name that contains whitespace? > > --jason > > > On Wed, 27 Jun 2001, Scott M Stark wrote: > > > 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. ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development