# SimpleXML schema validate patch

- Thread: https://externals.io/message/4675
- Original archive: https://news-web.php.net/php.internals/4675
- Started by Adam Trachtenberg on 2003-10-04T21:12:19+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #4675 — Adam Trachtenberg — 2003-10-04T21:12:19+00:00

URL: https://externals.io/message/4675#4675

Here is a patch against the latest CVS for SimpleXML to fix its schema 
validation support.

It does the following:

1) Includes all the correct libxml2 schema header files.
2) Determines whether schema support is available.
3) Avoids refreeing the parser.
4) Inverts valid / invalid logic to work correctly.

Please apply.

-adam

PS: Let me know if I generated the patch incorrectly.

-- 
adam trachtenberg
adam@trachtenberg.com
