Uploaded image for project: 'Jackrabbit FileVault'
  1. Jackrabbit FileVault
  2. JCRVLT-317

Aggregate not recognized as XML if root element name followed by a newline

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2
    • Fix Version/s: 3.2.4
    • Component/s: vlt
    • Labels:
      None

      Description

      <?xml version="1.0" encoding="UTF-8"?>
      <jcr:root
              xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:rep="internal"
          jcr:primaryType="rep:ACL">
          <deny
              jcr:primaryType="rep:DenyACE"
              rep:principalName="everyone"
              rep:privileges="{Name}[jcr:all]"/>
      </jcr:root>
      

      in a _rep_policy.xml, or probably any other non .content.xml imports the files as binary instead of detecting it as internal docview:

      11:04:35.253 [main] INFO  o.a.j.v.p.i.IntegrationTestBase - A /testroot/secured
      11:04:35.270 [main] INFO  o.a.j.v.p.i.IntegrationTestBase - A /testroot/secured/rep:policy.xml
      11:04:35.270 [main] INFO  o.a.j.v.p.i.IntegrationTestBase - A /testroot/secured/rep:policy.xml/jcr:content
      11:04:35.270 [main] INFO  o.a.j.v.p.i.IntegrationTestBase - A /testroot/secured/rep:policy.xml/jcr:content/jcr:data
      

        Attachments

          Activity

            People

            • Assignee:
              tripod Tobias Bocanegra
              Reporter:
              tripod Tobias Bocanegra
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: