You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by si...@apache.org on 2019/03/04 22:50:54 UTC

[sling-whiteboard] branch master updated: [cp2fm] reduced XML parsing files names inclusion

This is an automated email from the ASF dual-hosted git repository.

simonetripodi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-whiteboard.git


The following commit(s) were added to refs/heads/master by this push:
     new 80bee53  [cp2fm] reduced XML parsing files names inclusion
80bee53 is described below

commit 80bee53b2850ee0eb8b430b6ffc957ed57c201ee
Author: Simo Tripodi <st...@adobe.com>
AuthorDate: Mon Mar 4 23:50:43 2019 +0100

    [cp2fm] reduced XML parsing files names inclusion
---
 .../org/apache/sling/cp2fm/handlers/XmlConfigurationEntryHandler.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/content-package-2-feature-model/src/main/java/org/apache/sling/cp2fm/handlers/XmlConfigurationEntryHandler.java b/content-package-2-feature-model/src/main/java/org/apache/sling/cp2fm/handlers/XmlConfigurationEntryHandler.java
index 0f7bfdf..57d3513 100644
--- a/content-package-2-feature-model/src/main/java/org/apache/sling/cp2fm/handlers/XmlConfigurationEntryHandler.java
+++ b/content-package-2-feature-model/src/main/java/org/apache/sling/cp2fm/handlers/XmlConfigurationEntryHandler.java
@@ -39,7 +39,7 @@ public final class XmlConfigurationEntryHandler extends AbstractSingleConfigurat
     private final SAXParserFactory saxParserFactory = SAXParserFactory.newInstance();
 
     public XmlConfigurationEntryHandler() {
-        super("[^.][^/]+\\.xml");
+        super("[^._][^/]+\\.xml");
     }
 
     @Override