[ 
https://issues.apache.org/jira/browse/JCRVLT-317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tobias Bocanegra resolved JCRVLT-317.
-------------------------------------
    Resolution: Fixed

fixed in r1840077

> Aggregate not recognized as XML if root element name followed by a newline
> --------------------------------------------------------------------------
>
>                 Key: JCRVLT-317
>                 URL: https://issues.apache.org/jira/browse/JCRVLT-317
>             Project: Jackrabbit FileVault
>          Issue Type: Bug
>          Components: vlt
>    Affects Versions: 3.2
>            Reporter: Tobias Bocanegra
>            Assignee: Tobias Bocanegra
>            Priority: Major
>             Fix For: 3.2.2
>
>
> {code:xml}
> <?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>
> {code}
> in a {{_rep_policy.xml}}, or probably any other non {{.content.xml}} imports 
> the files as binary instead of detecting it as internal docview:
> {noformat}
> 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
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to