-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
support parsing imported pages for a PageCollection
- Loading branch information
Showing
8 changed files
with
145 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
...arser/src/commonTest/kotlin/org/cru/godtools/shared/tool/parser/internal/UsesResources.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../src/commonTest/resources/org/cru/godtools/shared/tool/parser/model/page/page_content.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
.../resources/org/cru/godtools/shared/tool/parser/model/page/page_pagecollection_imports.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<page xmlns="https://mobile-content-api.cru.org/xmlns/page" | ||
xmlns:analytics="https://mobile-content-api.cru.org/xmlns/analytics" | ||
xmlns:content="https://mobile-content-api.cru.org/xmlns/content" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="pagecollection"> | ||
<analytics:events> | ||
<analytics:event action="test" system="firebase" /> | ||
</analytics:events> | ||
|
||
<pages> | ||
<page id="embedded_content_page" xsi:type="content"> | ||
<analytics:events> | ||
<analytics:event action="test2" system="firebase" /> | ||
</analytics:events> | ||
<content> | ||
<content:spacer /> | ||
<content:paragraph> | ||
<content:text>Text</content:text> | ||
</content:paragraph> | ||
</content> | ||
</page> | ||
<import filename="ref_page_valid" /> | ||
<import filename="ref_page_invalid" /> | ||
<import filename="ref_page_missing" /> | ||
<import /> | ||
</pages> | ||
</page> |