mirror of
https://github.com/python/cpython.git
synced 2025-10-02 13:22:19 +00:00
bpo-32800: Update link to w3c doc for xml default namespaces (GH-5609) (GH-5611)
The new link is given in a red box on the old page.
(cherry picked from commit 8d1f2f4038
)
Co-authored-by: sblondon <sblondon@users.noreply.github.com>
This commit is contained in:
parent
e39429ab90
commit
e603320975
2 changed files with 2 additions and 1 deletions
|
@ -297,7 +297,7 @@ If the XML input has `namespaces
|
||||||
with prefixes in the form ``prefix:sometag`` get expanded to
|
with prefixes in the form ``prefix:sometag`` get expanded to
|
||||||
``{uri}sometag`` where the *prefix* is replaced by the full *URI*.
|
``{uri}sometag`` where the *prefix* is replaced by the full *URI*.
|
||||||
Also, if there is a `default namespace
|
Also, if there is a `default namespace
|
||||||
<https://www.w3.org/TR/2006/REC-xml-names-20060816/#defaulting>`__,
|
<https://www.w3.org/TR/xml-names/#defaulting>`__,
|
||||||
that full URI gets prepended to all of the non-prefixed tags.
|
that full URI gets prepended to all of the non-prefixed tags.
|
||||||
|
|
||||||
Here is an XML example that incorporates two namespaces, one with the
|
Here is an XML example that incorporates two namespaces, one with the
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
Update link to w3c doc for xml default namespaces.
|
Loading…
Add table
Add a link
Reference in a new issue