Re: XML vs RDF namespaces

2019-07-05 Thread Andy Seaborne
Have you checked the RDF/XML spec? On 05/07/2019 11:44, Claude Warren wrote: OK. after further examination the issue I am seeing is that the TURTLE representation and the RDF-XML representation do not match. Do you have a test case? My test case:

Re: XML vs RDF namespaces

2019-07-05 Thread Claude Warren
OK. after further examination the issue I am seeing is that the TURTLE representation and the RDF-XML representation do not match. If I read the XML document and serialize it out as RDF-XML get the expected namespaces. When I serialize it out as TURTLE there is no separator between the

Re: XML vs RDF namespaces

2019-07-05 Thread Andy Seaborne
On 05/07/2019 08:20, Martynas Jusevičius wrote: When XML parser parses the document it internally adds a slash '/' between the namespace and the local name. Are you sure that is the case? Sounds weird and likely non-conformant. It's possibly because one of the processors process has also

Re: XML vs RDF namespaces

2019-07-05 Thread Martynas Jusevičius
> When XML parser parses the document it internally adds a slash '/' between the namespace and the local name. Are you sure that is the case? Sounds weird and likely non-conformant. If you can’t change the existing XSLT stylesheet, you could pipeline the RDF/XML through a second one which

XML vs RDF namespaces

2019-07-05 Thread Claude Warren
Greetings, Background: I have an externally curated XML file that I run through an XSLT transform to create an RDF XML file to load into Jena. The namespace URIs in the XML end with a valid XML nameChar (i,e, not a slash '/' or hash '#'). When XML parser parses the document it internally adds