/[suikacvs]/messaging/manakai/t/util-qname-general.t
Suika

Contents of /messaging/manakai/t/util-qname-general.t

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download) (as text)
Sat Nov 20 11:12:50 2004 UTC (20 years ago) by wakaba
Branch: MAIN
CVS Tags: manakai-release-0-3-2, manakai-release-0-3-1, manakai-release-0-4-0, manakai-200612, HEAD
Changes since 1.1: +9 -11 lines
File MIME type: application/x-troff
Message::Util::QName::General: Now Message::Markup::XML::QName does not need; Message::Util::QName::Filter: New module; Message::Util::DOM: daily

1 wakaba 1.1 #!/usr/bin/perl -w
2     use strict;
3     use Test;
4    
5     use Message::Util::QName::General
6 wakaba 1.2 [qw/ExpandedURI/],
7 wakaba 1.1 {
8     xhtml1 => q<http://www.w3.org/1999/xhtml>,
9 wakaba 1.2 About => q<about:>,
10     '#default' => q<http://default.example/>,
11     '' => q<data:,>,
12 wakaba 1.1 };
13    
14     plan tests => 5;
15    
16 wakaba 1.2 ok ExpandedURI q<About:blank>, q<about:blank>;
17 wakaba 1.1
18 wakaba 1.2 ok ExpandedURI q<xhtml1:class>,
19     q<http://www.w3.org/1999/xhtmlclass>;
20 wakaba 1.1
21 wakaba 1.2 ok ExpandedURI q<foo>, q<foo>;
22 wakaba 1.1 ok ExpandedURI q<:foo>, q<data:,foo>;
23 wakaba 1.2 ok ExpandedURI q<About:>, q<about:>;
24 wakaba 1.1

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24