Forums / Developer / EZXML - validity check
Michael Zeidler
Wednesday 22 September 2004 11:25:20 am
Hey folks,
could someone give me a hint how the validity of the xml-input for articles is checked? What classes are involved?
------------------------------------------------------------------------------------------- join #ezpublish on irc.freenode.org
Hans Melis
Wednesday 22 September 2004 11:31:06 am
I just told you in the IRC, but I'll repeat it here if anyone else is interested.
The validating is done by the inputhandler. The prototype of the inputhandler is defined in /kernel/classes/datatypes/ezxmltext/ezxmlinputhandler.php
The function validateInput() handles the validation process. See the above file for the prototype of the function. If you want to see an actual implementation, take a look at /kernel/classes/datatypes/ezxmltext/handlers/input/ezsimplifiedxmlinput.php
Have fun ;)
Hans http://blog.hansmelis.be
K259
Monday 18 July 2005 2:21:18 pm
How is it possible to turn off the validation message you get:"input did not validate..." when you publish content? I don't want to turn off the input cleaning, just the message.
This is annonying me with ez publish. Else it's good :)