gmediaserver-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gmediaserver-devel] Possible bug in gmedia server 0.13.0: over-escaping


From: David Hagood
Subject: [gmediaserver-devel] Possible bug in gmedia server 0.13.0: over-escaping DIDL response
Date: Sat, 03 Jan 2009 11:22:41 -0600

It seems that gmediaserver V0.13.0 is over-escaping the DIDL section of
the response to the client. Here is an example response:

2009-01-03 11:11 Event action result:
2009-01-03 11:11   <?xml version="1.0"?>
2009-01-03 11:11   <u:BrowseResponse
xmlns:u="urn:schemas-upnp-org:service:ContentDirectory:1">
2009-01-03 11:11   <Result>&lt;DIDL-Lite
xmlns=&quot;urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/&quot;
xmlns:dc=&quot;http://purl.org/dc/elements/1.1/&quot;
xmlns:upnp=&quot;urn:schemas-upnp-org:metadata-1-0/upnp/&quot;&gt;&lt;item 
id=&quot;765&quot; parentID=&quot;0&quot; restricted=&quot;1&quot;&gt;&lt;res 
protocolInfo=&quot;http-get:*:video/mp4:DLNA.ORG_PS=1;DLNA.ORG_CI=0;DLNA.ORG_OP=00;DLNA.ORG_FLAGS=00000000000000000000000000000000&quot;
 
size=&quot;12417521&quot;&gt;http://10.0.0.1:49152/files/765&lt;/res&gt;&lt;upnp:class&gt;object.item.videoItem.movie&lt;/upnp:class&gt;&lt;dc:title&gt;penguin.mp4&lt;/dc:title&gt;&lt;/item&gt;&lt;/DIDL-Lite&gt;</Result>
2009-01-03 11:11   <NumberReturned>1</NumberReturned>
2009-01-03 11:11   <TotalMatches>34</TotalMatches>
2009-01-03 11:11   <UpdateID>0</UpdateID>
2009-01-03 11:11   </u:BrowseResponse>

Not that instead of
<DIDL-Lite xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-light/"
and so on, the data is actually escaped:
<Result>&lt;DIDL-Lite
xmlns=&quot;urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/&quot;

And so on.







reply via email to

[Prev in Thread] Current Thread [Next in Thread]