[oXygen-user] How do I switch off validation of XSDs that are called by an XML document instance [SEC=UNCLASSIFIED]


Wed Feb 11 17:59:05 CST 2009


Hi Sorin,

Thanks for your prompt reply.

A long time ago I asked how to validate a whole set of XSDs.  The response indicated that I should: open a project, import folders (containing the XSDs) into the project, right click on the folder (holding the XSDs) and validate selection.

This is what I did with the XSDs that I am using to validate the huge XML document instance. The validation errors from above only relate to readme files in the directories.  Therefore, I assume that the XSDs are valid. I even removed the readme files and the validation still works.

I have tarred and gzipped the XSDs that I am dealing with. You can download them from: http://asdd.ga.gov.au/asdd/work/epsgSchemas.tar.gz

I then validate the huge XML document instance that is supposed to be valid according to the above mentioned XSDs.  When I do this there are thousands of errors related to the XSDs mentioned above and within the document.

The huge file that I am trying to validate is available at http://asdd.ga.gov.au/asdd/work/GmlDictionaryMetadata.xml

Thanks.


John

> -----Original Message-----
> From: 
> [mailto:] On Behalf Of Sorin Ristache
> Sent: Wednesday, 11 February 2009 7:03 PM
> To: 
> Subject: Re: [oXygen-user] How do I switch off validation of
> XSDs that are called by an XML document instance [SEC=UNCLASSIFIED]
>
>
> Hello,
>
> The XML Schema is validated implicitly when an XML file is validated
> against that schema. You cannot disable that with a preference. If the
> XML Schema is valid then the validation errors are in the XML file.
> Please send some sample files to see if the schema or the XML file is
> not valid.
>
>
> Regards,
> Sorin
>
>
>  wrote:
> > Hi,
> >
> > I have an XML document instance and when I validate it
> against and XSD, Oxygen 10.0 validates the XSD?  I have been
> told by so called experts that the XSDs are valid but I keep
> on getting the errors.  What preferences do I set to validate
> the XML document instance and not the relevant XSDs?
> >
> > Thanks.
> _______________________________________________
> oXygen-user mailing list
> 
> http://www.oxygenxml.com/mailman/listinfo/oxygen-user
>



More information about the oXygen-user mailing list