So far I have also added
- class RdfRepositoryFactoryBean<T extends Repository<S, ID>, S, ID extends Serializable> extends RepositoryFactoryBeanSupport<T, S, ID>
- class SimpleRdfRepositoryConfiguration extends RepositoryConfig<SimpleRdfRepositoryConfiguration. RdfRepositoryConfiguration, SimpleRdfRepositoryConfiguration>
- class RdfRepositoryNameSpaceHander extends NamespaceHandlerSupport
- class RdfRepositoryConfigDefinitionParser extends AbstractRepositoryConfigDefinitionParser<SimpleRdf RepositoryConfiguration, RdfRepositoryConfiguration>
I have run into a very silly problem I cannot resolve with the bean XML
Code:
<beans xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" xmlns="http://www.springframework.org/schema/beans"
xmlns:rdf="http://www.springframework.org/schema/data/rdf"
xsi:schemaLocation="http://www.springframework.org/schema/data/rdf http://www.springframework.org/schema/data/rdf/spring-rdf-1.0.xsd
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.1.xsd">
<bean id="modelFactory" class="org.ontoware.rdf2go.RDF2Go" factory-method="getModelFactory" />
<rdf:repositories base-package="org.springframework.data.rdf.simple" model-factory-ref="modelFactory">
</rdf:repositories>
</beans>
org.xml.sax.SAXParseException: cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'rdf:repositories'.
I even added a spring.schemas file but to no avail.
I get the same message for <repository:repositories> with xmlns:repository="http://www.springframework.org/schema/data/repository"