de.setf.wilbur icon indicating copy to clipboard operation
de.setf.wilbur copied to clipboard

problem with namespaces in the parse of XML files

Open arademaker opened this issue 12 years ago • 0 comments

I got the following error

XML -- missing NAMESPACE definition "doac:LanguageSkill"
   [Condition of type WILBUR:MISSING-NAMESPACE-DEFINITION]

When running

(defvar stream1 (open #P"0675365413696898.rdf"
             :direction :input))

(setf wilbur:*db*
      (wilbur:parse-db-from-stream stream1 "0675365413696898.rdf"))

The file is actually correct:

<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:bio="http://purl.org/vocab/bio/0.1/" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:xsd="http://www.w3.org/2001/XMLSchema#" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:doac="http://ramonantonio.net/doac/0.1/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:skos="http://www.w3.org/2004/02/skos/core#" xmlns:fgvterms="http://www.fgv.br/terms/" xmlns:event="http://purl.org/NET/c4dm/event.owl#" xmlns:gn="http://www.geonames.org/ontology#" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:bibo="http://purl.org/ontology/bibo/" xmlns:lattes="http://www.cnpq.br/2001/XSL/Lattes" xml:base="http://www.fgv.br/lattes/0675365413696898">
....

arademaker avatar Jan 10 '13 19:01 arademaker