Hi,

I'm trying to work with DDI and running into a couple of problems.

On windows, I get xml.xsd errors (duplicate attributes).  The DDI
distro contains xsd files for xhtml; three of those files contain:

    <xs:import namespace="http://www.w3.org/XML/1998/namespace";
schemaLocation="../xml.xsd">

Changing ../xml.xsd to xml.xsd fixed the problem, but I'd like to
handle it in an xml catalog so I don't have to edit the distro files.
Tried a bunch of stuff but couldn't get it to work; any suggestions?

The second problem I'm having is on OS X 10.7.2 - it doesn't seem to
be reading my catalog.xml, or it's failing silently.  The xml doc
starts like this:

<DDIInstance xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
    xsi:schemaLocation="ddi:instance:3_1 instance.xsd"
    xmlns="ddi:instance:3_1"

My addon catalog uses nextCatalog to refer to a ddi catalog that says

  <uri name="ddi:instance:3_1" uri="XMLSchema/instance.xsd"/>

This works on Windows XP, but on the mac I get a doc type error:

         
/{http://www.w3.org/2001/XMLSchema}schema[1]/{http://www.w3.org/2001/XMLSchema}import[1]:
cannot load schema document
"file:/Users/gar/Library/Application%20Support/XMLmind/XMLEditor5/addon/ddi/instance.xsd":
/Users/gar/Library/Application
Support/XMLmind/XMLEditor5/addon/ddi/instance.xsd (No such file or
directory) [x-src-import.1]

I've tried lots of variations in my catalog files but nothing seems to
work.  I introduced a syntax error into my addon catalog.xml expecting
an error message, but saw no effect.

Suggestions?  Is there any way to get trace of the catalog search
logic?  The message log seems only to record loads of .xxe, .xsd, and
.xml.

Thanks,

Gregg
 
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to