The following comment has been added to this issue:
Author: Matthias Germann
Created: Wed, 26 Jan 2005 4:04 PM
Body:
Hi,
I tried it with XDoclet 1.2.2 on Gentoo Linux and i get the correct DD for both
methods you posted.
Are you sure that the only thing you changed was the space at the end of the
comment?
Regards,
Matthias
---------------------------------------------------------------------
View this comment:
http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1248?page=comments#action_15776
---------------------------------------------------------------------
View the issue:
http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1248
Here is an overview of the issue:
---------------------------------------------------------------------
Key: XDT-1248
Summary: Space breaks parser?
Type: Bug
Status: Open
Priority: Minor
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: XDoclet
Components:
XDoclet Module
Versions:
1.2.2
Assignee: xdoclet-devel (Use for new issues)
Reporter: Miles Thomason
Created: Wed, 26 Jan 2005 2:51 PM
Updated: Wed, 26 Jan 2005 4:04 PM
Environment: Windows XP, J2SDK 1.4.2_06
Description:
In the following ejbSelect methods...
------------------
/**
* @ejb.select query="select OBJECT( pqa ) from PQApplication as pqa"
*/
public abstract Collection ejbSelectAll() throws javax.ejb.FinderException;
/**
* @ejb.select query="select OBJECT( pqa ) from PQApplication as pqa"
*/
public abstract Collection ejbSelectByConsultant() throws
javax.ejb.FinderException;
-------------------
The second method would produce no parse or compile errors, but in ejb-jar.xml
the <ejb-ql> element contained no query. After nearly two hours of beating my
head against the wall, I realized that there is a blank space after the
query="..." on the second query. For some reason this was preventing XDoclet
from finding the contents of the query attribute. Surely this is an error!
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
xdoclet-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel