1. Shlomi Fish
  2. Qantor


shl...@52c325ad-5fd0-0310-8a0f-c43feede02cc  committed a6d7458

Add the with-bold.xml test.

  • Participants
  • Parent commits 8b479e0
  • Branches default

Comments (0)

Files changed (3)

File Text-Qantor/MANIFEST

View file

File Text-Qantor/t/02-convert-to-qantor-xml.t

View file
 use strict;
 use warnings;
-use Test::More tests => 2;
+use Test::More tests => 3;
 use lib "./t/lib";
 use Text::Qantor;
-# TEST:$num_files=2
+# TEST:$num_files=3
 my @files =
+        t/data/to-xsl-fo/input/with-bold.qant
-#        t/data/to-xsl-fo/input/with-bold.qant
 sub read_file

File Text-Qantor/t/data/to-xsl-fo/qantor-xml/with-bold.xml

View file
+<?xml version='1.0' encoding='utf-8'?>
+<doc xmlns="http://web-cpan.berlios.de/Qantor/qantor-xml/" xmlns:xlink="http://www.w3.org/1999/xlink" version="0.1" xml:id="index" xml:lang="en">
+From <b>Perl for Perl Newbies</b> by Shlomi Fish:
+Perl was introduced in 1987 (4 years before Linux itself), when the author,
+<b>Larry Wall</b>, released version 1.000 of it. The reason for its creation was that
+Wall was unhappy by the functionality that sed, C, awk and the Bourne Shell
+offered him. He looked for a language that will combine all of their best
+features, while having as few disadvantages of its own. 
+Since then, perl has seen several versions, each adding additional
+functionality. perl version 5, which was released in 1994, was a complete
+re-write of the perl interpreter, and introduced such things as hard
+references, modules, objects and lexical scoping. Several minor versions of
+perl appeared since then, and the most up-to-date stable version (as of October
+2005) is 5.8.x. 
+Perl became especially popular as a language for writing server-side scripts
+for web-servers. But that's not the <b>only</b> use of perl, as it is commonly
+used for system administration tasks, managing database data, as well as
+writing GUI applications.