Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implemented XML text escaping, and 'structure' keyword.
- Loading branch information
1 parent
76ae95b
commit ed24b24
Showing
8 changed files
with
54 additions
and
27 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
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,13 +1,12 @@ | |||
Short Term (October 2010) | Short Term (October 2010, Version 1.0 stable) | ||
- Implement XML escaping on text nodes. | |||
- Finish implementing Flower::Utils, as per the README. | - Finish implementing Flower::Utils, as per the README. | ||
|
|
||
Medium Term (December 2010) | Medium Term (December 2010, Version 1.1 stable) | ||
- Implement METAL support. | - Implement METAL support. | ||
- Implement query caching. | - Implement query caching. | ||
- Implement multiple paths (/test/path1 | /test/path2) support. | - Implement multiple paths (/test/path1 | /test/path2) support. | ||
|
|
||
Long Term (2011) | Long Term (2011, Undetermined versions) | ||
- Implement I18N support. | - Implement I18N support. | ||
- Implement on-error. | - Implement on-error. | ||
|
|
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
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
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,16 @@ | |||
#!/usr/bin/env perl6 | |||
|
|||
BEGIN { @*INC.unshift: './lib' } | |||
|
|||
use Test; | |||
use Flower; | |||
|
|||
plan 1; | |||
|
|||
my $xml = '<?xml version="1.0"?>'; | |||
|
|||
my $template = '<test><escaped tal:content="string"/><unescaped tal:content="structure string"/></test>'; | |||
my $flower = Flower.new(:template($template)); | |||
|
|||
is $flower.parse(string=>'hello to you & your friend, "how are you?"'), $xml~'<test><escaped>hello to you & your friend, "how are you?"</escaped><unescaped>hello to you & your friend, "how are you?"</unescaped></test>', 'XML escapes and structure keyword'; | |||
|