First of all, please make sure that you have disabled some of the caches 
used to speed up XXE's startup time.

Excerpts from "XMLmind XML Editor - Configuration and Deployment, 
Writing a configuration file for XXE" -- 
http://www.xmlmind.com/xmleditor/_distrib/doc/configure/config_file.html
---
Important

If you are writing a configuration file for XXE, please do not forget to 
temporarily disable the Quick Start and Schema caches by unchecking the 
corresponding checkboxes in Options → Preferences, Advanced|Cached Data 
section. More information about these caches in Section 5.11.1, “Cached 
data options” in XMLmind XML Editor - Online Help.
---

See 
http://www.xmlmind.com/xmleditor/_distrib/doc/help/advancedOptions.html#cacheOptions



On 11/02/2011 12:22 PM, Gregg Reynolds wrote:
>
> 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?

[1] Please make sure that you have disabled some of the caches of XXE. 
See above.

[2] I don't see why specifying:

<uri name="../xml.xsd" uri="COPY_OF_xml.xsd_RELATIVE_TO_YOUR_CATALOG" />

in an XML catalog would not work.



>
> 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.
>

[1] Please make sure that you have disabled some of the caches of XXE. 
See above.

[2] Please start XXE with -DXXE_CATALOG_RESOLVER_VERBOSITY=10

See 
http://www.xmlmind.com/xmleditor/_distrib/doc/help/system_properties.html
 
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to