You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2013/10/30 22:47:49 UTC

[Bug 123592] New: [non-pro] Warning about attribute svg:stroke-width="10px"

https://issues.apache.org/ooo/show_bug.cgi?id=123592

            Bug ID: 123592
        Issue Type: DEFECT
           Summary: [non-pro] Warning about attribute
                    svg:stroke-width="10px"
           Product: Draw
           Version: 4.1.0-dev
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: minor
          Priority: P4
         Component: open-import
          Assignee: issues@openoffice.apache.org
          Reporter: rb.henschel@t-online.de
                CC: issues@openoffice.apache.org

Error: An error or a warning has occured during XML import/export!
Error-Id: 0x10020002
    Flags: 1 WARNING
    Class: 2 FORMAT
    Number: 2
Parameters:
    0: svg:stroke-width
    1: 10px
Exception-Message: 
Position:
    Public Identifier: 
    System Identifier:
file:///C:/Users/pppregin/Desktop/BezierFollowedByLine.odg
    Row, Column: 7,6

The attached document is valid according http://odf-validator.rhcloud.com/

I have used a debug-build of r5136830.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 123592] [non-pro] Warning about attribute svg:stroke-width="10px"

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123592

Regina Henschel <rb...@t-online.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |http://www.w3.org/TR/2001/R
                   |                            |EC-xsl-20011015/slice5.html
                   |                            |#section-N8185-Definitions-
                   |                            |of-Units-of-Measure

--- Comment #7 from Regina Henschel <rb...@t-online.de> ---
[ODF 1.2]
20.400 svg:stroke-width
"The svg:stroke-width attribute has the data type length 18.3.18."

18.3.18 length
"A (positive or negative) length, consisting of magnitude and unit, in
conformance with the Units of Measure defined in ยง5.9.13 of [XSL]."

[URL see Bugzilla field]
5.9.13 Definitions of Units of Measure
The units of measure in this Recommendation have the following definitions:
Name    Definition
cm    See [ISO31]
mm    See [ISO31]
in    2.54cm
pt    1/72in
pc    12pt
px    See [5.9.13.1 Pixels]
em    See [5.9.7.2 Relative Lengths]

So yes, px is a valid unit in ODF.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 123592] [non-pro] Warning about attribute svg:stroke-width="10px"

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123592

--- Comment #2 from Regina Henschel <rb...@t-online.de> ---
Created attachment 81884
  --> https://issues.apache.org/ooo/attachment.cgi?id=81884&action=edit
File that produces such warning

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 123592] [non-pro] Warning about attribute svg:stroke-width="10px"

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123592

--- Comment #3 from Regina Henschel <rb...@t-online.de> ---
Created attachment 81885
  --> https://issues.apache.org/ooo/attachment.cgi?id=81885&action=edit
Export from Inkscape

The Inkscape file generates similar Warning/Errors:

Error: An error or a warning has occured during XML import/export!
Error-Id: 0x10020002
    Flags: 1 WARNING
    Class: 2 FORMAT
    Number: 2
Parameters:
    0: svg:stroke-width
    1: 0,000pt
Exception-Message: 
Position:
    Public Identifier: 
    System Identifier: file:///C:/Users/pppregin/Desktop/InkscapeSpirale.odg
    Row, Column: 55,2

Error: An error or a warning has occured during XML import/export!
Error-Id: 0x10020002
    Flags: 1 WARNING
    Class: 2 FORMAT
    Number: 2
Parameters:
    0: svg:stroke-opacity
    1: 100,000%
Exception-Message: 
Position:
    Public Identifier: 
    System Identifier: file:///C:/Users/pppregin/Desktop/InkscapeSpirale.odg
    Row, Column: 55,2

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Issue 123592] [non-pro] Warning about attribute svg:stroke-width="10px"

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123592

Armin Le Grand <Ar...@me.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|issues@openoffice.apache.or |Armin.Le.Grand@me.com
                   |g                           |

-- 
You are receiving this mail because:
You are on the CC list for the issue.
You are the assignee for the issue.
You are watching all issue changes.

[Bug 123592] [non-pro] Warning about attribute svg:stroke-width="10px"

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123592

--- Comment #4 from Armin Le Grand <Ar...@me.com> ---
ALG: Indeed in the styles part of the ODF there is svg:stroke-width="0,000pt"
and svg:stroke-opacity="100,000%". The colon is the wrong sign here, it should
be a point as numerical separator (AFAIK). Thus, the warning is correct.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 123592] [non-pro] Warning about attribute svg:stroke-width="10px"

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123592

Armin Le Grand <Ar...@me.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |CONFIRMED
     Ever confirmed|0                           |1

--- Comment #8 from Armin Le Grand <Ar...@me.com> ---
ALG> Re-checked with patched file InkscapeSpirale.odg, exchanged commatas in
svg:stroke-width="0.000pt" and svg:stroke-opacity="100.000%". After that, load
cproduces no warnings.
I also checked conversion from pt to 100thMm done in
SvXMLUnitConverter::convertMeasure in xmloff, looks correct. Nearly all units
listed here are processed. Here are the exceptions:

- em is missing (started, but commented out)
- px is missing

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 123592] [non-pro] Warning about attribute svg:stroke-width="10px"

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123592

Armin Le Grand <Ar...@me.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Armin.Le.Grand@me.com

--- Comment #1 from Armin Le Grand <Ar...@me.com> ---
ALG: Regina, do you have the file that caused this, please?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Issue 123592] [non-pro] Warning about attribute svg:stroke-width="10px"

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123592

--- Comment #9 from Regina Henschel <rb...@t-online.de> ---
Warning still there in AOO420m1(Build:9800)  -  Rev. 1614365

-- 
You are receiving this mail because:
You are on the CC list for the issue.
You are watching all issue changes.

[Bug 123592] [non-pro] Warning about attribute svg:stroke-width="10px"

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123592

--- Comment #5 from Regina Henschel <rb...@t-online.de> ---
So for the Inkscape export, it is an error in Inkscape. If I correct comma to
dot, the file opens without warning.

But the other file still produces this error and has no decimal comma. It
seems, that it is the special unit px, which does not work. Using pt for
example gives no error.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 123592] [non-pro] Warning about attribute svg:stroke-width="10px"

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123592

--- Comment #6 from Armin Le Grand <Ar...@me.com> ---
ALG: So the question is, is px allowed in ODF? AFAIK it is no tallowed in the
core, but that might be changed...

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.