Hi there,

I noticed a bug in my version of the SMW plugin. It might already be
corrected in the current head.

In SMW_SpecialExportRDF.php the line:

                print "\t\t<" . $attURIs[1] . ' rdf:datatype="' .
SMWGetXSDTypeByID($att[3]) .  '">' . $att[4] . '</' . $attURIs[1] .
">\n";

should be changed to :

                print "\t\t<" . $attURIs[1] . ' rdf:datatype="' .
SMWGetXSDTypeByID($att[3]) .  '">' . str_replace('&','&amp;',$att[4]) .
'</' . $attURIs[1] . ">\n";

in order to produce correct XML if '&' is used in Attributes.

Cheers,

Torsten

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Semediawiki-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/semediawiki-user

Reply via email to