Community
Participate
Working Groups
If you want to use the translator framework, you are currently tied to using no prefixes for the document. In other words, you are tied to documents of the form: <?xml version="1.0" encoding="UTF-8"?> <ejb-jar id="ejb-jar_ID" version="2.1" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd"> <display-name>TestJpaEjbProject</display-name> ... And cannot support documents of the form: <?xml version="1.0" encoding="UTF-8"?> <ejb:ejb-jar id="ejb-jar_ID" version="2.1" xmlns:ejb="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd"> <ejb:display-name>TestJpaEjbProject</ejb:display-name> These are valid xml documents that may be required to be in this form by certain users, and there should be a story for how to support them.
It turns out I will also need this for the Mule IDE which I'm working on. So, if I provide a patch and a test case in the M4 timeframe, will there be someone to review and possibly commit it? See also bug 160569 and bug 164246.
Changing target to M6
Still no patch or test case... I am decommitting this for 2.0
I've just run into this bug with Teneo and Dali 2.2 (Galileo). Teneo generates JPA mapping files using a namespace and due to Dali's reliance on the translator framework it cannot read the generated files. I don't understand Carl's request for a test case as I think Paul provided enough info to reproduce this. Given his comments I'm going to read "helpwanted" as "not gonna fix it". Is this a reasonable assumption? :-)
I believe he was referring to the fact that Jesper had mentioned providing a patch and test case.
Shaun, While many could interpret helpwanted as not going to fix, it means: helpwanted keyword - This is a valid request, but due to committer resources and other priorities, outside help will be needed to make this happen. There are many things that we would like to do within WTP, and there are many valid requests that come in, but we do have to focus on what is most important for our community and our adopters. Now, having said that, there have been a few times where bugs have been marked helpwanted and then the community has stepped up and produced patches which have been accepted into WTP. As such, I would say that this is not a statement of "not going to fix"- that's what a resolution of WONTFIX is for. However, I will also admit that this is moreso the exception instead of the rule.
I'm afraid I do not have the time to properly investigate and fix this at the moment (or, ehm, in the two years which passed since I looked at this last)