Re: [RDF Validation Service] Error message in Validation Results

On 24/06/2022 18:19, Pierre-Antoine Champin wrote:
> Dear Susan,
> 
> the list you posted this to is dedicated to RDF-star, a proposed 
> extension to RDF. You should probably have used semantic-web@w3.org, a 
> more general list dedicated to semantic web and RDF.
> 
> The W3C RDF validator is very old, and not up-to-date with the RDF 
> specifications... This might explain your problem. I tested your file 
> with 3 parsers (RDFlib in Python, Jena in Java, RDF.rb in Ruby) and all 
> accepted it.

Apache Jena complains about the presence xsi:schemaLocation

The rdf:RDF tag only has namespace declarations and xmllang and xmlbase.

Emacs nxml-mode (which groks rdf:RDF) also says the document is invalid.

https://www.w3.org/TR/rdf-syntax-grammar/#start

There isn't a XML Schema for RDF/XML when used as rdf:RDF (there isn't a 
fixed set of XML tags).

The nearest is this:
https://www.w3.org/TR/rdf-syntax-grammar/#section-RELAXNG-Schema

    Andy

>    best
> 
> On 17/06/2022 07:24, Susana Hernandez wrote:
>>
>> Dear All,
>>
>> My name is Susana Hernández and I’m writing to you from DIGIBÍS, a 
>> Spanish company which dedicates to digitalize and develops ILS.
>>
>> Our ILS generates RDF records according to EDM ontology. On this 
>> point, we’re trying to validate the attached file in 
>> https://www.w3.org/RDF/Validator/ <https://www.w3.org/RDF/Validator/>, 
>>  but Validation Results show the next error message:
>>
>> *Error: {E201} Illegal attributes on rdf:RDF[Line = 2, Column = 655] *
>>
>> That position matches  the attribute 
>> /xsi:schemaLocation=http://www.w3.org/1999/02/22-rdf-syntax-ns# 
>> http://www.europeana.eu/schemas/edm/EDM.xsd/, but we don’t know why it 
>> is failing…
>>
>> Could you help us with this problem? Or could you  tell us how we can 
>> locates schema for elements and attributes that are in a specified 
>> namespace.
>>
>> Thank you very much in advance.
>>
>> Kind regards,
>>
>> Certificado ISO 9001.
>> No imprimir si no es necesario. Protejamos el Medio Ambiente.
>>
>> /En cumplimiento de la LOPD y la LSSI, le informamos de que sus datos 
>> personales son incorporados a un fichero, titularidad de DIGIBÍS, 
>> S.L.U., con el fin de ofrecerle información sobre servicios que pueden 
>> ser de su interés. Podrá ejercitar sus derechos ARCO (de Acceso, 
>> Rectificación, Cancelación y Oposición) mediante un escrito dirigido a 
>> //digibis@digibis.com <blocked::mailto:digibis@digibis.com>//, con 
>> copia del DNI o documento identificativo sustitutorio.
>> En caso de querer darse de baja pinche //aquí/ 
>> <blocked::mailto:digibis@digibis.com?subject=DAR%20DE%20BAJA>/./
>>

Received on Thursday, 7 July 2022 10:10:29 UTC