File: spelling-error-in-manpage

package info (click to toggle)
libxml-generator-perldata-perl 0.95-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 236 kB
  • sloc: perl: 757; makefile: 2
file content (52 lines) | stat: -rw-r--r-- 2,776 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
Description: Fix spelling-error-in-manpage issues (lintian)
Author: Nick Morrott <knowledgejunkie@gmail.com>
Bug: https://github.com/ubu/xml-generator-perldata/pull/6
Last-Update: 2019-01-22
---
--- a/PerlData.pm
+++ b/PerlData.pm
@@ -977,7 +977,7 @@
 
 Processing comes in two flavors: B<Simple Style> and B<Stream Style>:
 
-In a nutshell, 'simple style' is best used for those cases where you have a a single
+In a nutshell, 'simple style' is best used for those cases where you have a single
 Perl data structure that you want to convert to XML as quickly and painlessly as possible. 'Stream
 style' is more useful for cases where you are receiving chunks of data (like from a DBI handle)
 and you want to process those chunks as they appear. See B<PROCESSING METHODS> for more info about
@@ -1059,18 +1059,22 @@
 the top-level root element when parse() or parse_start() and parse_end()
 are called.
 
-I<Do not> use this option unless you absolutely sure you know what you
+I<Do not> use this option unless you are absolutely sure you know what you
 are doing and why, since the resulting event stream will most likely
 produce non-well-formed XML.
 
 =item * B<bindattrs> (optional)
 
-When set to a defined value, this option tells the generator to bind attributes to the same namespace as element that contains them. By default
-attributes will be unbound and unprefixed.
+When set to a defined value, this option tells the generator to bind attributes
+to the same namespace as element that contains them. By default attributes will
+be unbound and unprefixed.
 
 =item * B<processing_instructions> (optional)
 
-This option provides a way to include XML processing instructions events into the generated stream before the root element is emitted. The value of this key can be either a hash reference or an array reference of hash references. For example, when connected to L<XML::SAX::Writer>:
+This option provides a way to include XML processing instructions events into
+the generated stream before the root element is emitted. The value of this key
+can be either a hash reference or an array reference of hash references.
+For example, when connected to L<XML::SAX::Writer>:
 
     $pd->new( Handler => $writer_instance,
               rootname => 'document',
@@ -1265,7 +1269,7 @@
 arrayrefs, no keyname will be passed, but you can still generate the name from scratch.
 
 Extending that idea, keymap will also accept a default mapping using the key '*' that will
-be applied to all elements that do have an explict mapping configured.
+be applied to all elements that do have an explicit mapping configured.
 
 To add new mappings or remove existing ones without having to reset the whole list of
 mappings, see add_keymap() and delete_keymap() respectively.