Re: llyn.py Bug

> <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 UTC