Assigning empty file as a datasource of a RDF template gives a parsing error on console.

UNCONFIRMED
Unassigned

Status

()

Core
RDF
--
minor
UNCONFIRMED
10 years ago
10 years ago

People

(Reporter: souqueta, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

10 years ago
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.11) Gecko/20060601 Firefox/2.0.0.11 (Ubuntu-edgy)
Build Identifier: 

When doing(with an empty RDF file found at fileURL):

"element.datasources = fileURL;"

Error console returns me:

"no element found (RDF file line 1)"


Note that adding RDF "skeleton headers" in file fixes the issue.

Reproducible: Always
You need to log in before you can comment on or make changes to this bug.