|
From: Timo V. <sic...@gm...> - 2004-07-16 10:19:54
|
Hi!
I'm using a factory to create a bean as written in the documentation:
<bean id="exampleBean" class="examples.ExampleBean"
factory-method="createInstance">
...
</bean>
On app startup I get: org.xml.sax.SAXParseException: Attribute
"factory-method" must be declared for element type "bean".
The current spring-beans.dtd at
http://www.springframework.org/dtd/spring-beans.dtd does not contain
the factory-method attribute.
Is the documentation out of date here or is something missing in the
dtd/implementation?
Regards,
Timo
|