- This topic has 9 replies, 3 voices, and was last updated 18 years, 6 months ago by Roel De Nijs.
-
AuthorPosts
-
Roel De NijsMemberhi,
i am trying to get rid of the arg0, arg1, arg2 attributes of the field-tag in validation.xml because they are deprecated in the validator 1.1.3
so when i change arg0 into arg position=”0″ i got following errors in the Problems-view:
Severity Description Resource In Folder Location Creation Time Id
2 Element type “arg” must be declared. validation.xml AquaGis4Web/WebRoot/WEB-INF line 15 March 22, 2006 4:24:14 PM 40328
Severity Description Resource In Folder Location Creation Time Id
2 The content of element type “field” must match “(msg|arg0|arg1|arg2|arg3|var)*”. validation.xml AquaGis4Web/WebRoot/WEB-INF line 16 March 22, 2006 4:24:14 PM 40329Nonetheless my web-application has “Jakarta Struts 1.2” capabilities, i use all the latest jars (struts 1.2.8), but apparently there is still something wrong but i don’t have a clue.
i also changed Window – PReferences – MyEclipse – Project Capabilities – Struts – tab Struts 1.2 the jars to the latest jars (so the 1.2.8 instead of the default jars in MYECLIPSE_HOME) but it still gives me those errorsI hope you can help me out!
Many thanks already.
Roel De NijsMemberok, i did some research of my own and got some other questions.
i found this directory: C:\Program Files\MyEclipse\eclipse\plugins\com.ibm.webtooling.system.dtds_14.1.1\dtds containing a whole bunch of DTDs. There is also a plugin.xml in the directory above
When i have a xml-file open in the xml editor and i click (right mouse button) and i choose “preferences”, i get the preferences menu and there i choose XML Catalog. There is a summary of all DTDs and XSDs that are in the plugin.xml and MyEclipse uses this for xml-editing and validating.
So i thought i make a change to plugin.xml (because the DTD for Struts Validation is 1.0 instead of 1.1.3) and things would be solved, but i can delete an entry in plugin.xml, add an entry, change an entry,… every time when i open MyEclipse again the initial XML Catalog with all the default DTDs is shown, none of my adjustments is visible. Why?PS. if i remove validator_1_0.dtd in that directory and i copy validator_1_1_3.dtd and rename it to validator_1_0.dtd the problem from my first post is solved. but i’m still wondering why the changes made in plugin.xml aren’t visible and applied in MyEclipse when you open it again after you saved the changes.
Roel De NijsMemberstill waiting for an answer to my questions ❗
Roel De NijsMemberi’m getting the feeling that me (and my question) are ignored for some reason. i don’t get why, recently i had a conversation with some sales man from bea workshop and i mentioned that one of the pros of myeclipse is the excellent, quick and free support.
but it seems that i am asking something “not done”
Roel De NijsMemberis there still no answer on this one
Scott AndersonParticipantHysterio,
My apologies for not getting back to you. I don’t know why your question got dropped, but I can assure you we weren’t consciously avoiding it. I can assure you we’re researching it now. I’ll post back shortly with what we find out.
support-eugeneMember@hysterio wrote:
ok, i did some research of my own and got some other questions.
i found this directory: C:\Program Files\MyEclipse\eclipse\plugins\com.ibm.webtooling.system.dtds_14.1.1\dtds containing a whole bunch of DTDs. There is also a plugin.xml in the directory above
When i have a xml-file open in the xml editor and i click (right mouse button) and i choose “preferences”, i get the preferences menu and there i choose XML Catalog. There is a summary of all DTDs and XSDs that are in the plugin.xml and MyEclipse uses this for xml-editing and validating.
So i thought i make a change to plugin.xml (because the DTD for Struts Validation is 1.0 instead of 1.1.3) and things would be solved, but i can delete an entry in plugin.xml, add an entry, change an entry,… every time when i open MyEclipse again the initial XML Catalog with all the default DTDs is shown, none of my adjustments is visible. Why?PS. if i remove validator_1_0.dtd in that directory and i copy validator_1_1_3.dtd and rename it to validator_1_0.dtd the problem from my first post is solved. but i’m still wondering why the changes made in plugin.xml aren’t visible and applied in MyEclipse when you open it again after you saved the changes.
Did you use Eclipse -clean?
support-eugeneMember@hysterio wrote:
i’m getting the feeling that me (and my question) are ignored for some reason.
You are wrong. We are simply busy completing M2 release 🙂
Scott AndersonParticipantHysterio,
We found the problem and will be fixing it for the 5.0M2 build in a few days. Thanks again for both your patience and persistence on this issue. 🙂
Roel De NijsMember@support-scott wrote:
Hysterio,
We found the problem and will be fixing it for the 5.0M2 build in a few days. Thanks again for both your patience and persistence on this issue. 🙂
Thank you for handling my question, and of course solving it too 🙂
I am now a 😀 developer
-
AuthorPosts