Permalink
Browse files

Merge pull request #5 from dsteinbrunner/patch-1

typo fixes
  • Loading branch information...
2 parents 4e23e66 + a1e71d2 commit 01b4f0e80a72fba594e9c4d5d9f502b8012e3d30 @chorny committed Jun 28, 2013
Showing with 5 additions and 5 deletions.
  1. +3 −3 Expat/Expat.pm
  2. +2 −2 Parser.pm
View
@@ -922,7 +922,7 @@ including any internal or external DTD declarations.
=item * XMLDecl (Parser, Version, Encoding, Standalone)
-This handler is called for XML declarations. Version is a string containg
+This handler is called for XML declarations. Version is a string containing
the version. Encoding is either undefined or contains an encoding string.
Standalone is either undefined, or true or false. Undefined indicates
that no standalone parameter was given in the XML declaration. True or
@@ -954,7 +954,7 @@ a prefix.
=item new_ns_prefixes
When called from a start tag handler, returns namespace prefixes declared
-with this start tag. If called elsewere (or if there were no namespace
+with this start tag. If called elsewhere (or if there were no namespace
prefixes declared), it returns an empty list. Setting of the default
namespace is indicated with '#default' as a prefix.
@@ -974,7 +974,7 @@ currently bound, '#default' appears in the list.
Returns the string from the document that was recognized in order to call
the current handler. For instance, when called from a start handler, it
-will give us the the start-tag string. The string is encoded in UTF-8.
+will give us the start-tag string. The string is encoded in UTF-8.
This method doesn't return a meaningful string inside declaration handlers.
=item original_string
View
@@ -63,7 +63,7 @@ sub new {
my $htype;
foreach $htype (keys %{$args{_HNDL_TYPES}}) {
- # Handlers explicity given override
+ # Handlers explicitly given override
# handlers from the Style package
unless (defined($handlers->{$htype})) {
@@ -701,7 +701,7 @@ including any internal or external DTD declarations.
=head2 XMLDecl (Expat, Version, Encoding, Standalone)
-This handler is called for xml declarations. Version is a string containg
+This handler is called for xml declarations. Version is a string containing
the version. Encoding is either undefined or contains an encoding string.
Standalone will be either true, false, or undefined if the standalone attribute
is yes, no, or not made respectively.

0 comments on commit 01b4f0e

Please sign in to comment.