Results 1 to 3 of 3

Thread: Web-flow OC4j XML Parser Error

  1. #1
    Join Date
    Jun 2008
    Posts
    1

    Default 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. #2
    Join Date
    Apr 2005
    Posts
    112

    Default

    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.

  3. #3
    Join Date
    Feb 2012
    Posts
    3

    Default

    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>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •