On Wed, Nov 2, 2011 at 8:25 AM, Hussein Shafie <[email protected]> wrote:
> First of all, please make sure that you have disabled some of the caches
> used to speed up XXE's startup time.

Yep.  By the way, I haven't used xxe for a while; the new version is
/much/ faster.
...
>> 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?
...
> [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 lookup seems to work, based on the catalog lookup log, but I can't
tell from the log which actual file gets loaded (the message is just
"resolveURI(xml.xsd)", but we have three xml.xsd files), and I always
get this error message for xml:lang etc. when using ../xml.xsd for the
schemaLocation::

* file:/h:/xml/schema/DDI_3_1/XMLSchema/instance.xsd:43:40: duplicate
attribute declaration "xml:base" [sch-props-correct.2]

Ditto for xml:lang, xml:space, and xml:specialAttrs

I get this no matter what I do in the catalog, e.g.

  <!-- <uri name="http://www.w3.org/XML/1998/namespace";
uri="file:///h:/xml/schema/DDI_3_1/XMLSchema/xml.xsd"/> -->
  <!-- <uri name="xml.xsd" uri="XMLSchema/xml.xsd"/> -->
  <uri name="xml.xsd"
uri="file:///D:/opt/xxe-perso-5_0_0/addon/config/common/xsd/xml.xsd"/>
  <uri name="../xml.xsd"
uri="file:///D:/opt/xxe-perso-5_0_0/addon/config/common/xsd/xml.xsd"/>
  <!-- <uri name="xml.xsd"
uri="file:///D:/opt/xxe-perso-5_0_0/addon/config/dita/schema/v1.1/xsd/xml.xsd"/>
-->
  <!-- <uri name="../xml.xsd" uri="XMLSchema/xml.xsd"/> -->
  <!-- <uri name="xml.xsd" uri="XMLSchema/xml.xsd"/> -->
  <!-- <uri name="../xml.xsd" uri="xml.xsd"/> -->

There are three xml.xsd files here, one for xxe, one for dita, one for
ddi, so I tried mapping all refs to a single xml.xsd, still got the
error.  Only way that works is to use xml.xsd instead of ../xml.xsd.

>
> [2] Please start XXE with -DXXE_CATALOG_RESOLVER_VERBOSITY=10
>
> See
> http://www.xmlmind.com/xmleditor/_distrib/doc/help/system_properties.html

Thanks, hadn't seen that.  FYI when I tried this using xxe.jstart on
windows, it didn't work; I had to use xxe.bat.

Thanks,

Gregg

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

Reply via email to