You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Stefan Seifert (Jira)" <ji...@apache.org> on 2021/08/25 14:54:00 UTC

[jira] [Commented] (SLING-5922) allow sling mock to load content from jcrvlt's xml

    [ https://issues.apache.org/jira/browse/SLING-5922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17404533#comment-17404533 ] 

Stefan Seifert commented on SLING-5922:
---------------------------------------

PRs:
* https://github.com/apache/sling-org-apache-sling-testing-sling-mock/pull/5
* https://github.com/apache/sling-org-apache-sling-testing-sling-mock-oak/pull/3

SLING-7959 is not yet solved/improved - but this is not blocking this ticket, we can always improve the full FileVault docview xml format later in new releases of the content parser.

> allow sling mock to load content from jcrvlt's xml
> --------------------------------------------------
>
>                 Key: SLING-5922
>                 URL: https://issues.apache.org/jira/browse/SLING-5922
>             Project: Sling
>          Issue Type: New Feature
>          Components: JCR, Testing
>    Affects Versions: JCR Content Parser 1.2.6, Testing Sling Mock 2.3.4
>            Reporter: Nicolas Peltier
>            Assignee: Stefan Seifert
>            Priority: Major
>
> loading test content from json is super simple and cool, but as soon as you have logical content in your project that is serialized in JCR-VLT format (xml), this forces you to:
> - reproduce the application xml's content in a test json file,
> - synchronize both file in later maintenance
> we should allow tester to load mock content from an arbitrary path (not necessarily resource), and accept JCR-VLT format



--
This message was sent by Atlassian Jira
(v8.3.4#803005)