Announcement Announcement Module
Collapse
No announcement yet.
Error in spring-beans.dtd Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Error in spring-beans.dtd

    Hi,
    I am using the showcase example deployed along with WebWork 2.2.1. It gives me an error in applicationContext.xml on spring-beans.dtd. I typed in URL http://www.springframework.org/dtd/spring-beans.dtd in firefox and this is the error it gave me

    XML Parsing Error: syntax error
    Location: http://www.springframework.org/dtd/spring-beans.dtd
    Line Number 47, Column 1:<!ELEMENT beans (
    ^

    I am using tomcat 5.5 and webwork2.2.1. Is there any solution for this problem?

    Thanks you in advance>

  • #2
    I can reproduce it also in Firefox. Opera shows the DTD but marks the error location.
    IE also shows an error with an additional message indicating that a DTD declaration outside a DTD is not allowed.

    Did something change here lately?

    Regards,
    Andreas

    Comment


    • #3
      so does this problem have any solution????

      Thank you

      Comment


      • #4
        DTD is not xml, and validating dtd as an xml file will result in many errors for sure
        To validate a DTD you can use some special software, like XMLSPY, or Stylus Studio. There are no errors in spring-beans.dtd

        Comment

        Working...
        X