Re: Help with XML and DTD/Shema !! [message #44322 is a reply to message #44311] |
Mon, 06 June 2005 10:21  |
Karl Schultz
Messages: 341 Registered: October 1999
|
Senior Member |
|
|
On Mon, 06 Jun 2005 16:56:37 +0200, Antonio Santiago wrote:
> Hi group.
>
> I have a XML file (all files are attached) and want to parse with
> IDLffXMLDOMDocument object.
> The Load documentation method says I can specify VALIDATION_MODE (to
> ensure my XML accomplishes the appropiate DTD or Schema) and
> EXCLUDE_IGNORABLE_WHITESPACES (to exclude ignorable whitespaces :) ).
>
> Well, If a set up my XML to use DTD (and put VALIDATION_MODE=2, that is
> validate always) all is right. Also the whitespaces out of elements are
> ignored. But when I use Schema file in the XML i get some errors (the
> 'plugin' elements is not defined and the whitesapces are nor removed).
>
> Can anybody help me? I tested my XSD+XML file with
> " http://apps.gotdotnet.com/xmltools/xsdvalidator/Default.aspx" and all
> is ok.
>
> Is there any problem with IDL and XML Schemas ??
Yes, there was a problem with this in IDL 6.1. It is now fixed in 6.2.
I parsed your XML successfully with 6.2.
The only workaround I can think of for you with IDL 6.1 is to use the SAX
parser, which may or may not be practical, depending on what you are doing.
Karl
|
|
|