Skip to content

Commit

Permalink
Merge pull request #5 from dsteinbrunner/patch-1
Browse files Browse the repository at this point in the history
typo fixes
  • Loading branch information
chorny committed Jun 28, 2013
2 parents 4e23e66 + a1e71d2 commit 01b4f0e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Expat/Expat.pm
Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions Parser.pm
Expand Up @@ -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})) {

Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 01b4f0e

Please sign in to comment.