comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Help with XML and DTD/Shema !!
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Help with XML and DTD/Shema !! [message #44322 is a reply to message #44311] Mon, 06 June 2005 10:21 Go to previous message
Karl Schultz is currently offline  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
[Message index]
 
Read Message
Read Message
Previous Topic: Text size weirdness
Next Topic: Polar contour on top of polar map ??

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 14:22:56 PDT 2025

Total time taken to generate the page: 0.80014 seconds