[Expat-bugs] [ expat-Bugs-1690883 ] Expat rejects xml: prefix with "unbound prefix" error.
SourceForge.net
noreply at sourceforge.net
Thu Mar 29 22:31:42 CEST 2007
Bugs item #1690883, was opened at 2007-03-29 15:31
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=1690883&group_id=10127
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Scott Klement (klemscot)
Assigned to: Nobody/Anonymous (nobody)
Summary: Expat rejects xml: prefix with "unbound prefix" error.
Initial Comment:
When namespace handling is enabled, Expat considers the following document invalid:
<Text xml:lang="en">Foo</Text>
The error is "Unbound prefix", referring to the "xml:" prefix. However, according the W3C spec, it's not necessary to declare that particular prefix. I'm looking at the following document:
http://www.w3.org/TR/REC-xml-names/
Under chapter 3, subheading "Namespace constraint: Reserved Prefixes and Namespace Names"
This is the section I'm reading:
The prefix xml is by definition bound to the namespace name http://www.w3.org/XML/1998/namespace. ****It MAY, but need not, be declared****, and MUST NOT be bound to any other namespace name. Other prefixes MUST NOT be bound to this namespace name, and it MUST NOT be declared as the default namespace.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=1690883&group_id=10127
More information about the Expat-bugs
mailing list