Announcement Announcement Module
Collapse
No announcement yet.
2 XML validation problems Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 2 XML validation problems

    1. With <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">, <bean id="commonDataSource"
    class="com.zenodata.shared.db.PooledDataSource"
    factory-method="createCommonInstance"/>
    yields: Attribute "factory-method" must be declared by element type bean

    2. And in the same xml use of an inner class:
    <bean id="eventDaoJdbc" class="com.zenodata.jaz.db.EventDao$Jdbc">
    yields: class "com.zenodata.jaz.db.EventDao$Jdbc" not found.

    Both from XML Buddy.
    Anybody know of any workarounds?

  • #2
    Rob,

    I think you were probably using an older version of Spring, and XMLBuddy is caching the older DTD file.

    Take a look in your workspace, in the
    .metadata\.plugins\com.objfac.xmleditor\.cache
    directory. There will be a number of files in there like f1, f2, f3, etc. These are all cached DTDs. Make sure the spring one is up to date, and manually update it if not.

    Comment


    • #3
      thanks... the manual overrided seems to have done the trick.

      Comment

      Working...
      X