This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 13090 - Turtle markup includes invalid QNames
Summary: Turtle markup includes invalid QNames
Status: RESOLVED FIXED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: LC1 HTML Microdata (editor: Ian Hickson) (show other bugs)
Version: unspecified
Hardware: All All
: P4 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-29 17:57 UTC by Gregg Kellogg
Modified: 2011-08-04 05:05 UTC (History)
6 users (show)

See Also:


Attachments

Description Gregg Kellogg 2011-06-29 17:57:05 UTC
The Turtle associated with the last example ("Princeton", "Trekkie", "Avenue Q") has markup issues:

Many of the predicates are illegal QNames, for example hcard:n%20given-name is not a valid QName, as '%' is not a valid NCName (ref http://www.w3.org/TR/REC-xml-names/#ns-qualnames), an NCName does not include the '%' character.

Unfortunately, this means that the predicate must be represented as the full URI: <http://www.w3.org/1999/xhtml/microdata#http://microformats.org/profile/hcard%23:n%20given-name>
Comment 1 Philip Jägenstedt 2011-06-30 09:10:35 UTC
I don't understand, why can't you have <http://www.w3.org/1999/xhtml/microdata#http://microformats.org/profile/hcard%23:n%20> as the prefix and then call it vcard:given-name?
Comment 2 Philip Jägenstedt 2011-06-30 09:36:11 UTC
Ah, the comment is about the example in http://www.whatwg.org/specs/web-apps/current-work/multipage/links.html#examples-4
Comment 3 Ian 'Hixie' Hickson 2011-07-07 23:03:25 UTC
How weird. Why would XML be relevant to Turtle's syntax?!

Oh well.

EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Accepted
Change Description: see diff given below. I dropped the use of prefixes here.
Rationale: Concurred with reporter's comments.
Comment 4 contributor 2011-07-07 23:03:55 UTC
Checked in as WHATWG revision r6280.
Check-in comment: Work around a limitation of Turtle syntax.
http://html5.org/tools/web-apps-tracker?from=6279&to=6280
Comment 5 Michael[tm] Smith 2011-08-04 05:05:41 UTC
mass-move component to LC1