The following comment has been added to this issue:
Author: Darryl Miles
Created: Tue, 10 May 2005 10:57 PM
Body:
/**
*
...
*
* */// @ejb.env-entry ...SNIP... value="classpath*:**/*Context.xml"
/**
*
...
*
*/
How much work to detect at the start of the parsed line we are in a valid state
to look for an XDoclet tag. Then to find the special sequence "*/// ", to
ignore it and continue processing for tags right after.
I'm sure one provision when using this syntax might be that the whole tag must
be expressed on one long line, it may not continue over into the following
"/**" line. Unless of course the implmentation could allow for just that too ?
If not I'm sure no
---------------------------------------------------------------------
View this comment:
http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1306?page=comments#action_16524
---------------------------------------------------------------------
View the issue:
http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1306
Here is an overview of the issue:
---------------------------------------------------------------------
Key: XDT-1306
Summary: Usage of "*/" in Tag/Attribute
Type: Bug
Status: Open
Priority: Major
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: XDoclet
Versions:
1.2.2
Assignee: xdoclet-devel (Use for new issues)
Reporter: Andreas Schildbach
Created: Tue, 22 Mar 2005 8:13 AM
Updated: Tue, 10 May 2005 10:57 PM
Environment: XDoclet 1.2.2, JDK 1.4.2, Windows XP
Description:
I'm trying to use the following XDoclet tag:
/**
* [...]
* @ejb.env-entry name="ejb/BeanFactoryPath" value="classpath*:**/*Context.xml"
* [...]
*/
Unfortunately, "*/" (before "*Context.xml") is detected as End of Comment by
the Java Compiler and/or JavaDoc parser. The Java Language Specification does
not specify any escaping in Java Comments.
I browsed any Documentation for XDoclet if it provides any Escaping, but did
not find anything. I also searched the mailing lists, but only found people
finding the same problem but no solution.
---------------------------------------------------------------------
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 Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
_______________________________________________
xdoclet-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel