Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-1261

JackrabbitXmlNodeTypeRegistrationTest is failing on Solaris 9.

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Optional
    • Resolution: Done
    • Affects Version/s: 2.5.0.Final, 2.6.0.Beta2
    • Fix Version/s: 2.5.1.GA, 2.6.0.Final
    • Component/s: JCR
    • Labels:
      None
    • Environment:

      Solaris 9 on x86 and Sparc architectures.

      Description

      Following tests are failing on Solaris 9 machines:

      • org.modeshape.jcr.JackrabbitXmlNodeTypeRegistrationTest.shouldLoadOwfeNodeTypes
      • org.modeshape.jcr.JackrabbitXmlNodeTypeRegistrationTest.shouldLoadAllMagnoliaTypes

      Error message:

       
       Problems reading node types:org.modeshape.jcr.JackrabbitXmlNodeTypeReader@e45b5e
       ERROR: Error importing node types from "/xmlNodeTypeRegistration/owfe_nodetypes.xml": Content is not allowed in prolog. (threw Content is not allowed in prolog.)
      

      There is a BOM (Byte Order Mark) at the start of owfe_nodetypes.xml file. This is why the tests are failing. However I am not sure why the tests are failing only on Solaris 9.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                psiroky Petr Široký
                Reporter:
                psiroky Petr Široký
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: