[Typo3-dev] Make configuration simple

Arne Skjaerholt arnsholt at broadpark.no
Thu Oct 13 15:31:01 CEST 2005


> I would like to use XML actually, but only if we have a way to do semantics 
> check on the XML from php. In other words, standard PHP installations must 
> have some XML functions that let me validate if the XML configuraiton from 
> somewhere complies with the DTD/Schema it should follow. That would be a 
> helping hand. And, oh, we must have a web-based tool for building the 
> configuration based on the schema/DTD as well, otherwise it doesn't make so 
> much sense. 
> 
> And notice this: Standard PHP, not some fancy beta-plugin that common hosters 
> doesn't have installed.

There's DOM XML [1] extension in PHP4 which might be able to do it, but
the DOM[2] extension in PHP5 (which gets functionality from the libxml
extension) should be able to do all that as the underlying C library,
libxml2 AKA. gnome-xml, is a validating XML parser. It should also be
capable of doing RelaxNG schema validation.
Sorry that I can't be more specific, but I'm only familiar with the C
interface to libxml, not the PHP one.

Arne
:wq

[1] http://www.php.net/manual/en/ref.domxml.php
[2] http://www.php.net/manual/en/ref.dom.php





More information about the TYPO3-dev mailing list