Skip to content

Commit

Permalink
Fix README.rst syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
brunato committed Aug 27, 2019
1 parent d442b6a commit e672609
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ This library includes the following features:
* Remote attacks protection by default using an XMLParser that forbids entities

.. note::
Currently the XSD 1.1 validator is provided by class :class:`XMLSchema11` and
the default :class:`XMLSchema` class is still an alias of the XSD 1.0 validator,
the class :class:`XMLSchema10`. From version 1.1 of the package the default
Currently the XSD 1.1 validator is provided by class `XMLSchema11` and
the default `XMLSchema` class is still an alias of the XSD 1.0 validator,
the class `XMLSchema10`. From version 1.1 of the package the default
validator will be linked to the XSD 1.1 validator, a version that will also
removes support for Python 2.7.

Expand Down Expand Up @@ -71,9 +71,9 @@ the file containing the schema as argument:
>>> my_schema = xmlschema.XMLSchema('xmlschema/tests/cases/examples/vehicles/vehicles.xsd')
.. note::
For XSD 1.1 schemas use the class :class:`XMLSchema11`, because the default class
:class:`XMLSchema` is still an alias of the XSD 1.0 validator class :class:`XMLSchema10`.
From next minor release (v1.1) the default class will become :class:`XMLSchema11`.
For XSD 1.1 schemas use the class `XMLSchema11`, because the default class
`XMLSchema` is still an alias of the XSD 1.0 validator class `XMLSchema10`.
From next minor release (v1.1) the default class will become `XMLSchema11`.

The schema can be used to validate XML documents:

Expand Down

0 comments on commit e672609

Please sign in to comment.