Thread View: borland.public.delphi.xml
1 messages
1 total messages
Started by Susan Harris
Sat, 28 Jun 2008 19:48
Validating XML document against a schema (XSD)
Author: Susan Harris
Date: Sat, 28 Jun 2008 19:48
Date: Sat, 28 Jun 2008 19:48
14 lines
2099 bytes
2099 bytes
I'm having a tough time validating an XML document against a schema using Delphi 2007 Win32 (under fully patched XP). MSXML will not throw an error on an invalid document. I'm setting the poResolveExternals and poValidateOnParse options. The schema is referenced in the schemaLocation tag. XMLSpy validates it. And the Xerces DOM Parser validates it too. I'm assuming that none of the DOM Parsers are embedded in the exe, so it's best to use MSXML. Is that correct? I have MSXML 6 installed on the machine (looking at System32) - along with others. Not sure which one Delphi is finding. How can I check? Anyone managed to get MSXML validating against XSDs in D2007?
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads