Hi Simon,
"Simon Bøggild" <[EMAIL PROTECTED]> wrote on 12/03/2007 02:32:28 PM:
> Hi Michael,
>
> The problem seems to be this initial declaration in the xmldsig-
> core-schema.xsd:
>
>PUBLIC "-//W3C//DTD XMLSchema 200102//EN"
> "http://www.w3.org/2001/XMLSchema.dtd";
> [
> xmlns:ds
Well the problem seems to be solved now, I needed a local copy of
datatypes.dtd as well, now I'm able to do the schema validation using
the xml catalog.
I used a standard implementation of LSResourceResolver and had it
print out the system Id's that it was resolving when checking the
xmldsig-core-s
Hi Michael,
The problem seems to be this initial declaration in the xmldsig-core-schema.xsd:
http://www.w3.org/2001/XMLSchema.dtd";
[
http://www.w3.org/2000/09/xmldsig#";>
http://www.w3.org/2000/09/xmldsig#'>
]>
If I remove that section from the xsd file, then there's no problem
Hi Simon,
"file:/path/to/xmldsig-core/xmldsig-core-schema.xsd" seems like the correct
result for the "rewriteSystem" you wrote. What are you expecting to get as
the resolved URI from the catalog resolver? Have you tried opening an
InputStream for this URI yourself with java.net.URL?
Thanks.
Mich
Hi,
I'm trying to use XMLCatalogResolver as the ResourceResolver for a
SchemaFactory when validating schemas. I've created a catalog file
following the http://www.oasis-open.org/committees/entity/spec-2001-08-06.html.
In the schemas that I check I have references to external schemas on
the Interne