Validating XML - Avoiding the pain

Arne Blankerts, Tobias Schlitt (Nov 17, 2009)
Talk at International PHP Conference 2009 (English - UK)

Rating: 5 of 5

Being an established and widespread standard for information interchange parsing xml with PHP is a common task. Yet to many validating the results is not. In this session you will learn why you should validate an xml document, what methods are available, what problems you are likely to run into and how to avoid them. We will look into common approaches and standards - like DTD, XML Schema and RelaxNG - on this matter.


Comments

Rating: 5 of 5

Nov 17, 2009, 15:30 by Surfrdan

Good overview of XML Validation with XSD and DTD If a little rusty on the DTD syntax ;) Well put together with simple examples on how to use the validation available in PHP. Interesting to hear about extending the PHP XMLlib handlers to improve on error handling rather than dumping verbose libxml errors direct to log.

Write a comment

© joind.in 2010