W3C home > Mailing lists > Public > www-archive@w3.org > December 2001

Re: llyn.py Bug

From: Sean B. Palmer <sean@mysterylights.com>
Date: Fri, 7 Dec 2001 16:57:19 -0000
Message-ID: <011101c17f40$3d9cb840$14b90150@localhost>
To: <www-archive+n3bugs@w3.org>
> <sbp> odd problem with llyn.n3 - when I tell it to parse a document
> through N3, it sniff out the document and incorrectly assumes that
> it's XML RDF

Hmm... a better stopgap solution was to replace:-

[[[
    if guess.find('xml') >= 0 or guess.find('rdf') >= 0:
]]]

with:-

[[[
    if guess.find('xmlns') >= 0:
]]]

Perhaps there's an update in CVS.

-- 
Kindest Regards,
Sean B. Palmer
@prefix : <http://webns.net/roughterms/> .
:Sean :hasHomepage <http://purl.org/net/sbp/> .
Received on Friday, 7 December 2001 11:57:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 7 November 2012 14:17:15 GMT