xml - What is a striping error? -
I am trying to use the last.fm xml data xdlt in rdf and I am getting this error: ERROR [http-8080-1] (RDFDefaultErrorHandler.java:40) - (line 3 column 24): Expecting {E202} XMTM start or end element (s) string data "Joseph Arthur" may not be allowed That a striping error
Can someone explain to me what is a striping error, or what I am doing normally.
The XSLT code is here:
& lt; Xsl: each selection = "/ lfm / artist / artist" & gt; & Lt; Lfm: name & gt; & Lt; Xsl: Select the value = "name" /> & Lt; / Lfm: name & gt; & Lt; / XSL: for-each & gt; >
This will actually help to see the complete xml, or at least full xslt and input xml (which does not mention 'Joseph Arthur') produced by it.
, you are producing RDF / XML, which is breaking an important feature called 'striping', written by Dan Brickley, but this is a very brief summary: when rdf / xml
& lt; A & gt; & Lt; P & gt; & Lt; C & gt; & Lt; D & gt;
You know that weird tags (A, C) are analogous to nodes in the RDF graph, while tags (C, D) represent the edges, or properties. Syntax 'bandages' nodes and properties. Apart from this, if any element is in the text then it should be a property (only other elements in node elements, or nothing else).
So Parser thought it was on the node, so more elements were expected, text was found and suggested that you were using the property in the wrong place. My guess is that your RDF looks like this:
& rdf: RDF ... & gt; & Lt; Lfm: name & gt; Joseph Arthur & lt; / Lfm: name & gt; .... You have said that in some the property name is with 'Joseph Arthur', but you have not included a topic node, so we do not know what it is. .
Comments
Post a Comment