Announcement Announcement Module
Collapse
No announcement yet.
Web-flow OC4j XML Parser Error Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Web-flow OC4j XML Parser Error

    I am trying to add web flow to our spring mvc project and I am getting the following error:

    oracle.xml.parser.schema.XSDException: Duplicated definition for: 'identifiedType'

    Could anyone offer some assistance on how to correct this issue?

    Spring version 2.5.4
    Web Flow version 2.0
    OC4J version 10.1.3.1

    Thanks in advance for any assistance.

    Paul

  • #2
    The reason is Oracle ships with buggy XML parser. Please follow the blog post below.

    You mat refer the blog post http://vigilbose.blogspot.com/2007/0...ser-hacks.html.

    Comment


    • #3
      Creating a orion-web.xml with the 'search-local-classes-first' attribute in combination with removing the oracle.xml shared libraries has the same effect:

      Code:
      <?xml version="1.0"?>
      <orion-web-app
              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
              xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/orion-web-10_0.xsd"
              development="true"
              schema-major-version="10"
              schema-minor-version="0">
      
          <!--
          dit zorgt ervoor dat classes eerst gezocht worden binnen de jars van de war en dus niet binnen de jar van oc4j http://ralf.schaeftlein.de/2008/11/21/oc4j-and-jaxp-parser-conflict
          -->
          <web-app-class-loader search-local-classes-first="true" include-war-manifest-class-path="true"/>
      
          <web-app>
          </web-app>
      </orion-web-app>

      Comment

      Working...
      X