You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2008/02/07 17:02:12 UTC

[jira] Resolved: (SLING-195) use system view format for XML resource loader

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

Felix Meschberger resolved SLING-195.
-------------------------------------

    Resolution: Fixed

Implement support for system view XML import in Rev. 619470.

For an XML file to be accepted as system view, the name of the file must end with ".jcr.xml". Otherwise, if the extension is just ".xml", the oldstyle, non-standard import format is assumed and checked. This separation with a special extension also allows for the less problematic import of plain XML files without them being first tried to be imported as system view and possibly leaving garbage.

> use system view format for XML resource loader
> ----------------------------------------------
>
>                 Key: SLING-195
>                 URL: https://issues.apache.org/jira/browse/SLING-195
>             Project: Sling
>          Issue Type: Improvement
>          Components: Repository
>            Reporter: Tobias Bocanegra
>            Assignee: Felix Meschberger
>
> the current org.apache.sling.jcr.resource.internal.loader.XmlReader has a pretty simple format for loading content from the bundles into the repository. the pain is that if you already have repository content, you can't create just a SysView export and put it in the resources.
> suggest to change the XmlReader to accept a Sysview dump as provided by a system view content export.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.