shibboleth-dev - Metadata parse problem: Cannot find the declaration of element 'SiteGroup'.
Subject: Shibboleth Developers
List archive
- From: "Howard Gilbert" <>
- To: <>
- Subject: Metadata parse problem: Cannot find the declaration of element 'SiteGroup'.
- Date: Wed, 7 Apr 2004 11:28:22 -0400
Trying to run the current code from CVS with what I think are the current
checked in configuration models, HS fails to start because of a SAX parse
error. It appears (though I could be wrong) that the <FederationProvider>
element in origin.xml is required, and that the uri it points to is
/conf/sites.xml, and that this sites.xml file has no schema, and the parse
is failing because the main element <SiteGroup> is not declared since there
is no schema to declare it and the parse options are somehow requiring a
declaration.
Monday someone said they were running this code, and I let it sit around for
a few days hoping a fix would be checked in. The Origin html documentation
doesn't show a <FederationProvider> tag and doesn't list it as required.
This part of the configuration is new. There aren't enough comments for me
to figure what to do next.
The full messages are:
2004-04-07 10:56:00,437 ERROR [HS] Core -
Encountered a problem parsing federation metadata source:
org.xml.sax.SAXException: Error parsing xml file:
org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of
element 'SiteGroup'.
2004-04-07 10:56:00,453 ERROR [HS] Core -
Failed to load Federation Provider implementation class:
java.lang.reflect.InvocationTargetException
2004-04-07 10:56:00,453 ERROR [HS] Core -
Root cause: edu.internet2.middleware.shibboleth.metadata.MetadataException:
Unable to parse federation metadata.
2004-04-07 10:56:00,453 ERROR [HS] Core -
Unable to load Federation Provider. Skipping...
2004-04-07 10:56:00,453 ERROR [HS] Core - No
Federation Provider metadata loaded.
2004-04-07 10:56:00,453 FATAL [HS] Core -
Handle Service runtime configuration error. Please fix and re-initialize.
Cause:
edu.internet2.middleware.shibboleth.common.ShibbolethConfigurationException:
Could not load federation metadata.
20
The origin.xml reference checked in is:
<FederationProvider
type="edu.internet2.middleware.shibboleth.metadata.provider.
XMLMetadataLoadWrapper"
uri="/conf/sites.xml"/>
The sites.xml starts with (note no <?xml declaration):
<SiteGroup Name="https://localhost/shibboleth"
xmlns="urn:mace:shibboleth:1.0">
- Metadata parse problem: Cannot find the declaration of element 'SiteGroup'., Howard Gilbert, 04/07/2004
- RE: Metadata parse problem: Cannot find the declaration of element 'SiteGroup'., Scott Cantor, 04/07/2004
- RE: Metadata parse problem: Cannot find the declaration of element 'SiteGroup'., Scott Cantor, 04/07/2004
- Re: Metadata parse problem: Cannot find the declaration of element 'SiteGroup'., Walter Hoehn, 04/07/2004
Archive powered by MHonArc 2.6.16.