XAML error when I set Object Properties

Bug #516462 reported by szviktor
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Medium
jazzynico

Bug Description

I draw a simple rectangle and I changed the description with "Object Properties" function. Then I saved it as an XAML file.

XAML parser report error, because Ink scape put the description in wrong place:

<Rectangle xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Width="425.71429" Height="502.85715" Name="rect2816" Fill="#0000FF" Stroke="#FF000000" StrokeThickness="1px" >Description Text</Rectangle>

All XAML object support "Tag" property, what should be used to store the description:

<Rectangle xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Width="425.71429" Height="502.85715" Name="rect2816" Fill="#0000FF" Stroke="#FF000000" StrokeThickness="1px" Tag="Description Text" />

I am using v0.47.

Tags: exporting xaml

Related branches

Revision history for this message
szviktor (viktor-szule) wrote :
su_v (suv-lp)
tags: added: exporting xaml
jazzynico (jazzynico)
Changed in inkscape:
importance: Undecided → Medium
status: New → Confirmed
jazzynico (jazzynico)
Changed in inkscape:
assignee: nobody → JazzyNico (jazzynico)
status: Confirmed → In Progress
Revision history for this message
jazzynico (jazzynico) wrote :

Fixed as of bzr revision 9401.
The Description test (from the SVG desc element) is now converted to a Tag attribute value.

The fix can be tested with Inkscape 0.47 by replacing svg2xaml.xsl, in share/extensions, with the one located in http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/files/head%3A/share/extensions/.

Changed in inkscape:
milestone: none → 0.48
status: In Progress → Fix Committed
jazzynico (jazzynico)
Changed in inkscape:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.