sitecoresitecore6

How do I turn off XHTML validation in Sitecore?


How do I turn off Sitecore (6.5) XHTML Validation of pages in workflow?

I'm developing and keep running into issues while trying to publish down test pages because they error out. I would prefer to just get the errors as stacktraces in the browser.

I'm not sure if I have changed something before this does this, but I've recently taken on a project to move a Sitecore into a multi-site solution.

I did not have these issues while developing the solution the first time but I was using 6.4 instead of 6.5.


Solution

  • If you go into System -> Settings -> Validation Rules -> Global Rules if you scroll to the bottom you will see the Workflow section.

    You can remove the XHTML validation rule from there.

    Hope this helps :)