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

JackrabbitXmlNodeTypeRegistrationTest is failing on Solaris 9.

XMLWordPrintable

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

      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.

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

                Created:
                Updated:
                Resolved: