Closed
Bug 227307
Opened 21 years ago
Closed 21 years ago
'about' and 'resource' attrs need namespace prefix
Categories
(Core Graveyard :: RDF, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: bob, Assigned: tingley)
References
Details
Attachments
(1 file)
6.36 KB,
patch
|
mozilla
:
review+
bzbarsky
:
superreview+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007 Firebird/0.7
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007 Firebird/0.7
The use of these attributes without namespace prefixes is deprecated, so they
need the prefix that goes with the http://www.w3.org/1999/02/22-rdf-syntax-ns#
URL. In general, when arp (http://www-uk.hpl.hp.com/people/jjc/arp/) finds no
problems with your RDF, your RDF is ready for consumption. (Instead of
downloading and installing arp, you can just paste your RDF into the W3C's front
end to it at http://www.w3.org/RDF/Validator/).
Reproducible: Always
Steps to Reproduce:
1. I used Mozwho's new feature to save bookmark RDF to disk
2. validate RDF using arp (see Details)
Actual Results:
lots of warning messages
Expected Results:
Added RDF namespace prefix to 'about' and 'resource' attributes in RDF.
Reporter | ||
Updated•21 years ago
|
Summary: 'about' and 'resource' attrs need namespace prefix; take PCDATA out of → 'about' and 'resource' attrs need namespace prefix
Comment 1•21 years ago
|
||
Since Mozilla isn't capable of exporting the bookmarks in an RDF file (see bug
177886), isn't this a bug in mozwho ?
Comment 2•21 years ago
|
||
MozWho just invokes Components.interfaces.nsIRDFXMLSerializer, so certainly one
fix for the issue is to manually generate an RDF from a more manual js process.
However, my guess is that the *issue* is either with the representation of the
bookmarks internally or the serializer.
The point is a long term one, looking to the future of RDF as a common storage
format, and inter-operability among applications.
Confirming, adjusting OS and severity -- but it wouldn't be the first time I've
screwed up in b.m.o.
Severity: normal → minor
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows 2000 → All
Assignee | ||
Comment 3•21 years ago
|
||
Andy is correct, this is a serializer issue. In the early days of the RDF spec,
the namespace was optional for certain attributes (about/resource/ID), but this
is no longer the case.
Assignee | ||
Comment 4•21 years ago
|
||
This puts everything into the RDF namespace, and also cleans up a few duplicate
string constants that were scattered throughout the file.
Assignee | ||
Updated•21 years ago
|
Attachment #139008 -
Flags: review?(rjc)
Assignee | ||
Comment 5•21 years ago
|
||
*** Bug 189854 has been marked as a duplicate of this bug. ***
Comment 6•21 years ago
|
||
Comment on attachment 139008 [details] [diff] [review]
fix
r=rjc
Attachment #139008 -
Flags: review?(rjc) → review+
Assignee | ||
Updated•21 years ago
|
Attachment #139008 -
Flags: superreview?(bz-vacation)
![]() |
||
Comment 7•21 years ago
|
||
Comment on attachment 139008 [details] [diff] [review]
fix
sr=bzbarsky
Attachment #139008 -
Flags: superreview?(bz-vacation) → superreview+
Assignee | ||
Updated•21 years ago
|
Assignee: rjc → tingley
Assignee | ||
Comment 8•21 years ago
|
||
Fix checked in.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Updated•7 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•