facebook

how to validate xhtml in myeclipse

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #349908 Reply

    raichu
    Participant

    Hi,
    We are trying to migrate from jsp to jsf (xhtml) which is giving many issues in terms of markup language.
    Is there any feature where we can run validation on whole group of pages or individual pages to get the issues rather than fixing them at runtime.

    Sorry if the question is already answered & in that case kindly mention the link of previous post.

    #349912 Reply

    raichu,

    Validation settings are present under Window > Preferences > MyEclipse > Validation. In your case make sure that ‘JSF view validator’ and ‘JSF application configuration validator’ are selected / checked in the validation preferences page (by default they are selected). Also, you can check JSF related validations under Window > Preferences > MyEclipse > Validation > ‘JSF’ preference page.

    If you want to validate a particular page/file, then you can right click on the file and select MyEclipse > Run validation.

    Let us know if you have any further questions on MyEclipse.

    #349914 Reply

    raichu
    Participant

    @support-pradeep wrote:

    raichu,

    Validation settings are present under Window > Preferences > MyEclipse > Validation. In your case make sure that ‘JSF view validator’ and ‘JSF application configuration validator’ are selected / checked in the validation preferences page (by default they are selected). Also, you can check JSF related validations under Window > Preferences > MyEclipse > Validation > ‘JSF’ preference page.

    If you want to validate a particular page/file, then you can right click on the file and select MyEclipse > Run validation.

    Let us know if you have any further questions on MyEclipse.

    Hi Pradeep,
    Thanks for the reply.
    But when I clicked on a file & selected validate; it validated every file( java files also) & gave zero warning or errors. (But there are are errors)

    #349915 Reply

    raichu,

    Sorry that you are seeing this issue.

    > To help us replicate the issue at our end, can you attach the xhtml file in which you are seeing this issue ?

    > Which version of MyEclipse are you using, please share the Build id from Help > About MyEclipse Enterprise workbench.

    > Can you clarify if you have made any changes to validation settings under Window > Preferences > MyEclipse > Validation ?

    #349916 Reply

    raichu
    Participant

    @support-pradeep wrote:

    raichu,

    Sorry that you are seeing this issue.

    > To help us replicate the issue at our end, can you attach the xhtml file in which you are seeing this issue ?

    > Which version of MyEclipse are you using, please share the Build id from Help > About MyEclipse Enterprise workbench.

    > Can you clarify if you have made any changes to validation settings under Window > Preferences > MyEclipse > Validation ?


    Pradeep,
    1. Sorry I cannot share the file.
    2. Myeclipse version is 10.7.1
    3. I have enabled all the validations with default levels.

    I ran again but it is only validating when i am changing preferences & that too for whole project. When i try to validate single file in pop it gives 0 warning or errors.

    #349935 Reply

    raichu,

    We couldn’t replicate the issue at our end.

    From your other post, I see that you are moving to MyEclipse Blue 2014. I suggest you please check if the issue with xhtml validation persists on MyEclipse 2014.

    If you are still seeing the issue in MyEclipse 2014, can you please attach a sample xhtml file which exhibits the issue ? Can you also clarify on which type of error (html tag error or EL expression error) the xhtml editor is not picking when you validate the xhtml file ?

    Also, please attach the screenshots of the validation preference pages to help us visualise them.

    Let us know how it works for you in MyEclipse 2014.

    #349936 Reply

    raichu
    Participant

    @support-pradeep wrote:

    raichu,

    We couldn’t replicate the issue at our end.

    From your other post, I see that you are moving to MyEclipse Blue 2014. I suggest you please check if the issue with xhtml validation persists on MyEclipse 2014.

    If you are still seeing the issue in MyEclipse 2014, can you please attach a sample xhtml file which exhibits the issue ? Can you also clarify on which type of error (html tag error or EL expression error) the xhtml editor is not picking when you validate the xhtml file ?

    Also, please attach the screenshots of the validation preference pages to help us visualise them.

    Let us know how it works for you in MyEclipse 2014.

    Yes Pradeep we are upgrading to 2014 version.
    Let me first upgrade to that & consolidate the issues & then I will come back to you.

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: how to validate xhtml in myeclipse

You must be logged in to post in the forum log in