[EMAIL PROTECTED] wrote:
Hi Axelle,Hi Neil,
Thanks for your reply... but I've not yet managed to get it working.
The problem is that the personal-schema.xml sample is using noNamespaceSchemaLocation and not SchemaLocation. In my case, the parser keeps on complaining "The schemaLocation attribute does not contain pairs of values" ...
Also, is writing schemaLocation in the XML an alternative to setting setExternalSchemaLocation() ?
And why won't I have any validation unless I specify Val_Schemes::Val_Always ?
Here's the output of my sample test:
Constructing a DOM Buffer Parser
Constructing an Update Policy event
Creating a sample XML document to parse
<?xml version='1.0' encoding='ascii'?>
<dsi:UpdatePolicy xmlns='http://www.w3.org/2001/XMLSchema'
xmlns:dsi='http://xxx'
dsi:schemaLocation='http://xxx UpdatePolicy.xsd'>
<PolicyFile> /etc/toto.txt </PolicyFile>
</dsi:UpdatePolicy>
Noticed an error: I believe it should be schemaLocation= and not dsi:schemaLocation=
However that does not change anything to the errors I get.
Regards Axelle.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]