pollo's validation of a wierd schema
"Benedykt P. Barszcz" <[email protected]> Sun, 06 Jun 2004 23:32:47 +0200
| Newsgroups | gmane.editors.pollo.devel |
|---|---|
| Message-ID | <[email protected]> |
HI list,
<prolog>
This pollo editor is just a great stuff... Thanks for making it
available via sf.net.
</prolog>
<problem>
pollo_conf.xml
[...]
<viewtype name="osisCore" description="osisCore.1.1.1.xsd Schema">
<schemas>
<schema factory="org.outerj.pollo.xmleditor.schema.MsvSchemaFactory">
<parameter name="source"
value="classpath:/schema/osisCore.1.1.1.xsd"/>
</schema>
</schemas>
<display-specifications>
<display-specification
factory="org.outerj.pollo.xmleditor.displayspec.GenericDisplaySpecFactory">
<parameter name="use-random-colors" value="true"/>
</display-specification>
</display-specifications>
[...]
</template>
<template description="OSIS (v1.1.1) file"
factory="org.outerj.pollo.template.FileTemplateFactory">
<parameter name="source"
value="classpath:/template/osisCore.xml"/>
</template>
[...]
The osisCore.xml file contains this:
<?xml version="1.0" encoding="UTF-8"?>
<osis xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="osisCore.1.1.xsd">
<osisText/>
</osis>
This here is the Schema file;
http://whi.wts.edu/OSIS/Projects/Markup/specs/osisCore.1.1.1.xsd
The PROBLEM is that when I try "SCHEMA -> validate document" from the
menu i get this in the validator window:
unexpected attribute "xsi:noNamespaceSchemaLocation"
Does it mean I am unable to validate the document against a legitimate
schema?
tnx for any pointer in this matter
Benedict
a hapy user of pollo xml editor.
-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504