Tobias Bocanegra created JCRVLT-317:
---------------------------------------
Summary: 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
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)