Altova Mailing List Archives

Re: Schema validation problem when DOCTYPE + XSD

From: Yonisel@-----------.---------.---
Date: 3/9/2006 1:07:00 AM
Apparently... but do you know a solution or methods that could do DTD and XSD 
Because some softwares like XMLSPY or Stylus Studio valid correctly my xml 
files but not msxml.....
If you have some ideas...


"Zafar Abbas" wrote:

> The validator does not support DTD and XSD validation to work at the same
> time.
> "Yonisel" <Yonisel@d...> wrote in message
> news:8F3FD469-1896-43C8-A7C2-32A6F1216278@m......
> > I have a xml file which looks like to the following one.
> > It is linked to a schema file, and has, at the beginning, a DOCTYPE tag
> > which refers to jpeg ENTITY.
> >
> > But, I can have the following errors (according to my tests but it never
> > works):
> > Declared "Image_1" contains reference to un defined notation "JPG"
> > or
> > xml is used but not declared inthe DTD/schema
> > or
> > Reference to undefined Entity
> >
> > So, could you help me telling what to do with MSXML2 during the validation
> >
> > Yours faithfully
> >
> > <?xml version="1.0" encoding="UTF-8"?>
> > <!DOCTYPE xml [
> > <!ENTITY Image_3 SYSTEM "Image_3.jpg" NDATA JPG>
> > ]>
> > <xml xmlns:xsi=""
> > xsi:noNamespaceSchemaLocation="Schema.xsd">
> > <tag1>
> > <tag2>
> > <tag3>
> > <tag4>
> > .
> >          .
> >          .
> > <tag5 type='Image_3'/>
> > </xml>


These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.