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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24