Philip Nye wrote: > I cannot persuade XXE to find my RelaxNG schema where I want to store it. I > access the same source from several different hosts so I want to use local > catalogs to resolve the location. > > I have the location in my config file: > <relaxng location="myschema.rng" .../> > > Does this resolve via any XML Catalogs in force? I have tried all these > elements in my catalog but to no avail: > > <public publicId="NAME FROM RELAXNG ELEMENT" uri="my/local/location"/> > <system systemId="myschema.rng" uri="my/local/location"/> > <uri name="myschema.rng" uri="my/local/location"/> > > These work for my DTDs but I cannot get them to do so for Relax schemas.
All URLs found in config files are resolved using XML Catalogs (mainly to deal with the "xxe-config:" prefix). But I am not sure your problem is related to the proper use of XML catalogs. Please do this: [1] Add: <relaxng location="myschema.rng" .../> to your config file. [2] Copy myschema.rng to the directory containing your config file. [3] Remove everything related to myschema.rng from all XML catalogs. [4] Remove <?xxe-relaxng-schema?> processing instructions from your documents. [5] Add a proper <detect> configuration element to your config file. If this does not work, do not hesitate to send me all the files I need (config, schema, css, template documents, etc) to help you solving this problem.

