[snip stacktrace..]When trying to process the following schema (that imports the xmldsig one):
<?xml version="1.0" encoding="utf-8"?> <schema xmlns="http://www.w3.org/2001/XMLSchema" ~ targetNamespace="http://power.inescn.pt/2002/06/agent#" ~ version="$Revision: 1.10 $" ~ xmlns:agent="http://power.inescn.pt/2002/06/agent#" ~ xmlns:ds="http://www.w3.org/2000/09/xmldsig#" ~ elementFormDefault="qualified">
<import namespace="http://www.w3.org/2000/09/xmldsig#" ~ schemaLocation="http://www.w3.org/2000/09/xmldsig# ~ xmldsig-core-schema.xsd"/>
<element name="Message" type="agent:MessageType"/> ~ <complexType name="MessageType"> ~ <sequence> ~ <element minOccurs="0" maxOccurs="unbounded" ref="ds:Signature"/> (Snip)
I get the following stack trace:
'html' has not been declared in the XML Schema namespace. ~ line: 4 at
I have a castor.properties file with "org.exolab.castor.parser.namespaces = true" to overcome a previously reported bug.
Uhh.. and what does this have to do with the XML-Security library? :)
It seems you are just trying to get castor to understand the schema and that's not working out. I am afraid we won't be able to help you out with that. You might want to try a castor related mailing list.
Erwin