[
https://jira.jboss.org/browse/JBIDE-6152?page=com.atlassian.jira.plugin.s...
]
Brian Fitzpatrick updated JBIDE-6152:
-------------------------------------
Attachment: patch_phase1.txt
This patch moves some of the work from the DMB stream that Tom mentioned into trunk. In
order to get it to work, you have to add the xstream*.jar from the Smooks distribution
into the smooks.runtime plug-in.
At this point, it can process the incoming Java class and create a DOM out of it using the
Smooks runtime itself. Now we need to take this chunk and process it into the Java Bean
model object.
Configs for Java Sources where the class package name includes
underscores is not being generated properly
----------------------------------------------------------------------------------------------------------
Key: JBIDE-6152
URL:
https://jira.jboss.org/browse/JBIDE-6152
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: smooks
Affects Versions: 3.1.0.GA
Reporter: Tom Fennelly
Assignee: Xue Peng
Fix For: 3.2.0.Beta
Attachments: patch_phase1.txt
XStream is used to convert Java Sources to a stream of SAX events. If the source class
has underscores in the package (and maybe class too) name, XStream passes these on as
double underscores in the event stream.
We should never hit this if we use Smooks to generate the model for the editor Vs what
seems to be happening here i.e. the editor is trying to "guess" how the input
reader will interpret.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira