[jboss-user] [EJB 3.0] - Re: JBoss 5 deployement problem
jaikiran
do-not-reply at jboss.com
Mon Jan 5 04:07:36 EST 2009
"jaikiran" wrote :
| Looks like a bug in the persistence.xml parsing. The newline (and maybe even the leading and trailing space) doesn't seem to be trimmed while parsing the jta-data-source element.
|
| <jta-data-source>java:studProjectDS</jta-data-source>
|
The change that i mentioned should work. But i don't think its a bug in parsing. I just read the persistence xsd http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd
<xsd:element name="jta-data-source" type="xsd:string"
| minOccurs="0">
|
The type is defined as xsd:string which allows newlines, leading and trailing space etc... So i think, the parser which converts this xml should let the newlines remain as is. It's upto the user to specify the correct value.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199474#4199474
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199474
More information about the jboss-user
mailing list