Andreas Niemann wrote:
> while experimenting with the comand '@validateSchema' i have problem whens the xsd becomes is a little bit more complex. A single xsd-file is no problem. ModSecurity parses the xsd successfully and than validates the given xml exactly with this xsd.
> But when the xsd is importing (not including) other xsd-files, than ModSecurity produces errors that it could not find those elements which are defined in the other xsd-files. It seems that ModSecurity does not look at the xsd-files which are defined with the 'schemaLocation' attribute. No message like "file not found" even if i rename the other files.
> I'm using the current release of ModSecurity with the highest debug-level enabled.
> So my first question is if ModSecurity supports the import of additional xsd-files inside a xsd. If yes than i will try to create a minimal example and post it.
> Thanks for help
> Andreas Niemann
> Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger
ModSecurity will support whatever libxml2 supports ;) That said, please
do create a simple example and submit it in the issue tracker so maybe I
can add support.