Back Forum Reply New

Custom namespace not recognized

Hi,

I'm trying to create my own custom namespace and can't get it to recognized in the XML configuration. I've gone through the following steps prescribed in the tutorial.

1. Create your schema
2. Create a namespace handler
3. Create BeanDefinitionParser
4. Create the spring.handlers and spring.schemas references
5. Jar it all up and use

I have run across all references in my files a zillion times (not really but you get the point :-)) and all seems just right. Still if I use the namespace in my XML config and validate it is not recognized and I get the following problem message: quot;cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'act:interceptor'.quot;

Any tips and hints are greatly appreciated!

Jiri

I found an additional warning message: quot;schema_reference.4: Failed to read schema document 'act/spring/act-spring.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not lt;xsd:schemagt;.quot;

Hi ,
Iam also getting same problem.Have you solved it
¥
Back Forum Reply New