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