On Monday 30 October 2006 22:12, Leidig, Torsten wrote:
> Hi there,
>
> I noticed a bug in my version of the SMW plugin. It might already be
> corrected in the current head.

Thanks. This should already work properly due to other reasons: in SMW, 
attribute values are handled by typehandler-objects that are also in charge 
of transforming inputs into an XML-storable version. Thus the individual 
typehandlers currently take care of ensuring XML-conformance.

Best regards,

Markus

>
> 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

-- 
Markus Krötzsch
Institute AIFB, University of Karlsruhe, D-76128 Karlsruhe
[EMAIL PROTECTED]        phone +49 (0)721 608 7362
www.aifb.uni-karlsruhe.de/WBS/     fax +49 (0)721 693  717

Attachment: pgpDIE6slZllq.pgp
Description: PGP signature

-------------------------------------------------------------------------
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