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

JackrabbitXmlNodeTypeRegistrationTest is failing on Solaris 9.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Optional
    • 2.5.1.GA, 2.6.0.Final
    • 2.5.0.Final, 2.6.0.Beta2
    • JCR
    • None

    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.

      Attachments

        Activity

          People

            psiroky_jira Petr Široký (Inactive)
            psiroky_jira Petr Široký (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: