Ticket #967 (closed defect: fixed)
xml like patch not escaped properly
| Reported by: | johan@… | Owned by: | jonas |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.9 |
| Component: | ticket system | Version: | 0.8 |
| Severity: | normal | Keywords: | |
| Cc: | johan@… |
Description
A patch like this:
Index: flumotion/component/producers/webcam/webcam.xml
===================================================================
--- flumotion/component/producers/webcam/webcam.xml (revision 1164)
+++ flumotion/component/producers/webcam/webcam.xml (working copy)
@@ -4,6 +4,7 @@
<source location="flumotion.component.producers.webcam.webcam"/>
<properties>
<property name="feed" type="string" required="yes" multiple="yes"/>
+ <property name="device" type="string" required="yes"/>
<property name="height" type="int"/>
<property name="width" type="int"/>
<property name="framerate" type="float"/>
is rendered like this:
<span class="code-string"><B>Index: flumotion/component/producers/webcam/webcam.xml
</span></B>
<span lass="code-string"><B>===================================================================
</span></B>
<B><span class="code-func">--- flumotion/component/producers/webcam/webcam.xml (revision 1164)
</span></B>
<B><span class="code-keyword">+++ flumotion/component/producers/webcam/webcam.xml (working copy)
</span></B>
<I><span class="code-comment">@@ -4,6 +4,7 @@
</span></I>
<source location="flumotion.component.producers.webcam.webcam"/>
<properties>
<property name="feed" type="string" required="yes" multiple="yes"/>
<B><span class="code-keyword">+ <property name="device" type="string" required="yes"/>
</span></B> <property name="height" type="int"/>
<property name="width" type="int"/>
<property name="framerate" type="float"/>
</PRE></div>
Which makes all lines with < and > to be not rendered at all.
For an example. see this url: https://core.fluendo.com/trac/cgi-bin/trac.cgi/attachment/ticket/110/webcam-device-property.patch
Attachments
Change History
Note: See
TracTickets for help on using
tickets.


