OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

cgmo-webcgm message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: UL Review of Tests - WebCGM Compliance


All,

 

We have finished our review of the assigned test cases and will send a more detailed report soon.  One general remark though:

 

I ran all 10 CGMs through MetaCheck with the WebCGM option and all files were incompliant.  The first error message:

 

“Error 6589: WebCGM 1.0 (2R) Profile Violation.

The METAFILE DESCRIPTION string is invalid; it lacks the phrase

"ProfileEd:1.0" required by the Profile.”

 

is clear but still raises an issue.  All 10 files contain either ProfileEd:1.0 or 2.0.  In the test files that I constructed manually I put in ProfileEd:2.1 (see rotateAPS.txt).  Is this correct?

 

While this would be a cosmetic issue there are a number of additional errors in these files.  I am wondering if there is some compatibility issue between 1.0 and 2.1.  Could you please look into the MetaCheck reports (grouped into vendor specific zips) and tell me your opinion?

 

Thanks & regards

Ulrich

forrest.zip

ben.zip

don.zip



MetaCheck Version 5.20 -- CGM Conformance Analyzer
Copyright 1988-2001 CGM Technology Software 
Execution Date: 03/17/2009     Time:  15:12:32 



Metafile Examined     : .\Test-Datei\rotateAPS.cgm
Message File          : metachek.mg1
Registration File     : metachek.rg1
Profile File          : webcgm.cf1

Pictures Examined     : All
Elements Examined     : All
Bytes    Examined     : All


======================= Trace Report ========================


   1:BEGIN METAFILE                   Offset:0           Length:11
    P1 : Metafile Name              Value: >Rotate-APS<

   2:METAFILE VERSION                 Offset:14          Length:2
    P1 : Metafile Version           Value: 4

   3:METAFILE DESCRIPTION             Offset:18          Length:71
    P1 : Metafile Description       Value: >"ProfileId:WebCGM""ProfileEd:2.1""<
                                           >ColourClass:colour""Source:CGM Ope<
                                           >n"<

Error 6589: WebCGM 1.0 (2R) Profile Violation.
The METAFILE DESCRIPTION string is invalid; it lacks the phrase
"ProfileEd:1.0" required by the Profile.


   4:METAFILE ELEMENT LIST            Offset:94          Length:6
    P1 : Number of Elements         Value: 1
    P2 : Element List               Value:
         VERSION-4 SET                                              

   5:VDC TYPE                         Offset:102         Length:2
    P1 : VDC Type                   Value:                 REAL (1)

   6:INTEGER PRECISION                Offset:106         Length:2
    P1 : Integer Precision          Value: 16

   7:REAL PRECISION                   Offset:110         Length:6
    P1 : Form of Representation     Value:       FLOATING POINT (0)
    P2 : Exponent/Whole Width       Value: 9
    P3 : Mantissa/Fractional Width  Value: 23

   8:INDEX PRECISION                  Offset:118         Length:2
    P1 : Index Precision            Value: 16

   9:COLOUR PRECISION                 Offset:122         Length:2
    P1 : Colour Precision           Value: 16

  10:COLOUR INDEX PRECISION           Offset:126         Length:2
    P1 : Colour Index Precision     Value: 16

  11:COLOUR VALUE EXTENT              Offset:130         Length:12
    P1 : Minimum Colour Value       Value: R:0 G:0 B:0
    P2 : Maximum Colour Value       Value: R:255 G:255 B:255

  12:MAXIMUM COLOUR INDEX             Offset:144         Length:2
    P1 : Maximum Colour Index       Value: 255

  13:FONT LIST                        Offset:148         Length:10
    P1 : Font List                  Value:
             1 >Helvetica<

  14:CHARACTER SET LIST               Offset:160         Length:8
    P1 : Character Set 1            Value:        94-CHAR G-SET (0)
                                       Tail:   >B<
    P2 : Character Set 2            Value:        96-CHAR G-SET (1)
                                       Tail:   >A<

  15:CHARACTER CODING ANNOUNCER       Offset:170         Length:2
    P1 : Coding Announcer           Value:          BASIC 8-BIT (1)

  16:MAXIMUM VDC EXTENT               Offset:174         Length:16
    P1 : First Corner Point         Value:            0.0,0.0
    P2 : Second Corner Point        Value:          150.0,115.0

  17:BEGIN PICTURE                    Offset:192         Length:10
    P1 : Picture Identifier         Value: >picture_1<

  18:SCALING MODE                     Offset:204         Length:6
    P1 : Scaling Mode               Value:               METRIC (1)
    P2 : Scale Factor               Value: 1.0

  19:COLOUR SELECTION MODE            Offset:212         Length:2
    P1 : Colour Selection Mode      Value:                INDEX (0)

  20:LINE WIDTH SPECIFICATION MODE    Offset:216         Length:2
    P1 : Line Width Spec Mode       Value:             ABSOLUTE (0)

  21:MARKER SIZE SPECIFICATION MODE   Offset:220         Length:2
    P1 : Marker Size Spec Mode      Value:             ABSOLUTE (0)

  22:EDGE WIDTH SPECIFICATION MODE    Offset:224         Length:2
    P1 : Edge Width Spec Mode       Value:             ABSOLUTE (0)

  23:VDC EXTENT                       Offset:228         Length:16
    P1 : First Corner Point         Value:            0.0,0.0
    P2 : Second Corner Point        Value:          150.0,115.0

  24:COLOUR TABLE                     Offset:246         Length:8
    P1 : Starting Index             Value: 0
    P2 : Colour List                Value:
    (0) R:255 G:255 B:255

  25:BACKGROUND COLOUR                Offset:256         Length:6
    P1 : Background Colour          Value: R:255 G:255 B:255

  26:BEGIN PICTURE BODY               Offset:264         Length:0

  27:RESTRICTED TEXT TYPE             Offset:266         Length:2
    P1 : Restriction Type           Value:            BOXED-CAP (2)

  28:VDC REAL PRECISION               Offset:270         Length:6
    P1 : Form of Representation     Value:       FLOATING POINT (0)
    P2 : Exponent/Whole Width       Value: 9
    P3 : Mantissa/Fractional Width  Value: 23

  29:COLOUR TABLE                     Offset:278         Length:56
    P1 : Starting Index             Value: 0
    P2 : Colour List                Value:
    (0) R:255 G:255 B:255           (1) R:0 G:0 B:0
    (2) R:255 G:255 B:0             (3) R:255 G:0 B:255
    (4) R:0 G:255 B:255             (5) R:0 G:0 B:255
    (6) R:0 G:255 B:0               (7) R:255 G:0 B:0
    (8) R:255 G:128 B:255

  30:INTERIOR STYLE                   Offset:338         Length:2
    P1 : Interior Style             Value:                SOLID (1)

  31:EDGE WIDTH                       Offset:342         Length:4
    P1 : Edge Width                 Value: 2.3

  32:EDGE VISIBILITY                  Offset:348         Length:2
    P1 : Edge Visibility            Value:                   ON (1)

  33:EDGE COLOUR                      Offset:352         Length:2
    P1 : Edge Colour                Value: 7

  34:BEGIN APPLICATION STRUCTURE      Offset:356         Length:17
    P1 : APS Identifier             Value: >arrow<
    P2 : APS Type                   Value: >grobject<
    P3 : Inheritance Flag           Value:            STATELIST (0)

  35:BEGIN APPLICATION STRUCTURE BODY   Offset:376         Length:0

  36:FILL COLOUR                      Offset:378         Length:2
    P1 : Fill Colour                Value: 7

  37:RECTANGLE                        Offset:382         Length:16
    P1 : First Corner               Value:           33.3,43.2
    P2 : Second Corner              Value:       96.99998,76.19999

  38:FILL COLOUR                      Offset:400         Length:2
    P1 : Fill Colour                Value: 5

  39:POLYGON                          Offset:404         Length:24
    P1 : Point List                 Value:
    (   1)       96.99998, 33.2         (   2)          114.4, 59.7
    (   3)       96.99998, 86.2         

  40:END APPLICATION STRUCTURE        Offset:430         Length:0

  41:TEXT ALIGNMENT                   Offset:432         Length:12
    P1 : Horizontal Alignment       Value:                 LEFT (1)
    P2 : Vertical Alignment         Value:                 BASE (4)
    P3 : Continuous Horizontal      Value: 0.0
    P4 : Continuous Vertical        Value: 0.0

  42:TEXT PRECISION                   Offset:446         Length:2
    P1 : Text Precision             Value:               STROKE (2)

  43:ALTERNATE CHARACTER SET INDEX    Offset:450         Length:2
    P1 : Alternate Char Set         Value: 2

  44:CHARACTER ORIENTATION            Offset:454         Length:16
    P1 : Up Vector X                Value: 0.0
    P2 : Up Vector Y                Value: 1.0
    P3 : Base Vector X              Value: 1.0
    P4 : Base Vector Y              Value: 0.0

  45:CHARACTER HEIGHT                 Offset:472         Length:4
    P1 : Character Height           Value: 2.25

  46:RESTRICTED TEXT                  Offset:478         Length:56
    P1 : Delta Width                Value: 62.10001
    P2 : Delta Height               Value: 2.25
    P3 : Text Position              Value:       76.49998,8.699999
    P4 : Final Flag                 Value:                FINAL (1)
    P5 : Text String                Value: >CGMopen/NIST WebCGM Viewer Test Su<
                                           >ite<

  47:RESTRICTED TEXT                  Offset:538         Length:32
    P1 : Delta Width                Value: 17.7
    P2 : Delta Height               Value: 2.25
    P3 : Text Position              Value:       76.49998,5.0
    P4 : Final Flag                 Value:                FINAL (1)
    P5 : Text String                Value: >ProfileEd 2.1<

  48:LINE WIDTH                       Offset:574         Length:4
    P1 : Line Width                 Value: 0.15

  49:POLYLINE                         Offset:580         Length:40
    P1 : Point List                 Value:
    (   1)            0.2, 0.2          (   2)            0.2, 114.8
    (   3)          149.8, 114.8        (   4)          149.8, 0.2
    (   5)            0.2, 0.2          

  50:POLYLINE                         Offset:624         Length:40
    P1 : Point List                 Value:
    (   1)       75.00001, 0.6999999    (   2)       75.00001, 11.8
    (   3)          149.3, 11.8         (   4)          149.3, 0.6999999
    (   5)       75.00001, 0.6999999    

  51:POLYLINE                         Offset:668         Length:16
    P1 : Point List                 Value:
    (   1)       75.00001, 4.4          (   2)          149.3, 4.4

  52:POLYLINE                         Offset:686         Length:16
    P1 : Point List                 Value:
    (   1)       75.00001, 8.099999     (   2)          149.3, 8.099999

  53:POLYLINE                         Offset:704         Length:16
    P1 : Point List                 Value:
    (   1)          109.5, 4.4          (   2)          109.5, 8.099999

  54:POLYLINE                         Offset:722         Length:16
    P1 : Point List                 Value:
    (   1)          131.2, 0.6999999    (   2)          131.2, 4.4

  55:END PICTURE                      Offset:740         Length:0

  56:END METAFILE                     Offset:742         Length:0


================ Element Use Summary Report =================

   Total Delimiter Elements (Class 0). . . . . . . 8
   BEGIN METAFILE. . . . . . . . . . . . . . . . . 1
   END METAFILE. . . . . . . . . . . . . . . . . . 1
   BEGIN PICTURE . . . . . . . . . . . . . . . . . 1
   BEGIN PICTURE BODY. . . . . . . . . . . . . . . 1
   END PICTURE . . . . . . . . . . . . . . . . . . 1
   BEGIN APPLICATION STRUCTURE . . . . . . . . . . 1
   BEGIN APPLICATION STRUCTURE BODY. . . . . . . . 1
   END APPLICATION STRUCTURE . . . . . . . . . . . 1


   Total Metafile Descriptor Elements (Class 1). . 15
   METAFILE VERSION. . . . . . . . . . . . . . . . 1
   METAFILE DESCRIPTION. . . . . . . . . . . . . . 1
   VDC TYPE. . . . . . . . . . . . . . . . . . . . 1
   INTEGER PRECISION . . . . . . . . . . . . . . . 1
   REAL PRECISION. . . . . . . . . . . . . . . . . 1
   INDEX PRECISION . . . . . . . . . . . . . . . . 1
   COLOUR PRECISION. . . . . . . . . . . . . . . . 1
   COLOUR INDEX PRECISION. . . . . . . . . . . . . 1
   MAXIMUM COLOUR INDEX. . . . . . . . . . . . . . 1
   COLOUR VALUE EXTENT . . . . . . . . . . . . . . 1
   METAFILE ELEMENT LIST . . . . . . . . . . . . . 1
   FONT LIST . . . . . . . . . . . . . . . . . . . 1
   CHARACTER SET LIST. . . . . . . . . . . . . . . 1
   CHARACTER CODING ANNOUNCER. . . . . . . . . . . 1
   MAXIMUM VDC EXTENT. . . . . . . . . . . . . . . 1


   Total Picture Descriptor Elements (Class 2) . . 7
   SCALING MODE. . . . . . . . . . . . . . . . . . 1
   COLOUR SELECTION MODE . . . . . . . . . . . . . 1
   LINE WIDTH SPECIFICATION MODE . . . . . . . . . 1
   MARKER SIZE SPECIFICATION MODE. . . . . . . . . 1
   EDGE WIDTH SPECIFICATION MODE . . . . . . . . . 1
   VDC EXTENT. . . . . . . . . . . . . . . . . . . 1
   BACKGROUND COLOUR . . . . . . . . . . . . . . . 1


   Total Control Elements (Class 3). . . . . . . . 1
   VDC REAL PRECISION. . . . . . . . . . . . . . . 1


   Total Graphical Primitive Elements (Class 4). . 10
   POLYLINE. . . . . . . . . . . . . . . . . . . . 6
   RESTRICTED TEXT . . . . . . . . . . . . . . . . 2
   POLYGON . . . . . . . . . . . . . . . . . . . . 1
   RECTANGLE . . . . . . . . . . . . . . . . . . . 1


   Total Attribute Elements (Class 5). . . . . . . 15
   LINE WIDTH. . . . . . . . . . . . . . . . . . . 1
   TEXT PRECISION. . . . . . . . . . . . . . . . . 1
   CHARACTER HEIGHT. . . . . . . . . . . . . . . . 1
   CHARACTER ORIENTATION . . . . . . . . . . . . . 1
   TEXT ALIGNMENT. . . . . . . . . . . . . . . . . 1
   ALTERNATE CHARACTER SET INDEX . . . . . . . . . 1
   INTERIOR STYLE. . . . . . . . . . . . . . . . . 1
   FILL COLOUR . . . . . . . . . . . . . . . . . . 2
   EDGE WIDTH. . . . . . . . . . . . . . . . . . . 1
   EDGE COLOUR . . . . . . . . . . . . . . . . . . 1
   EDGE VISIBILITY . . . . . . . . . . . . . . . . 1
   COLOUR TABLE. . . . . . . . . . . . . . . . . . 2
   RESTRICTED TEXT TYPE. . . . . . . . . . . . . . 1


   Total Escape Elements (Class 6) . . . . . . . . 0


   Total External Elements (Class 7) . . . . . . . 0


   Total Segment Elements (Class 8). . . . . . . . 0


   Total ASA Elements (Class 9). . . . . . . . . . 0


============= CGM Conformance Violation Report ==============



No Errors Detected


============== WebCGM 1.0 (2R) Profile Report ===============

Error 6589: Element Class/ID: 1/2   Offset: 18 octets Element No. 3
The METAFILE DESCRIPTION string is invalid; it lacks the phrase
"ProfileEd:1.0" required by the Profile.



================ Conformance Summary Report =================



MetaCheck Version 5.20 -- WebCGM 1.0 (2R) Profile Conformance Analyzer
Copyright 1988-2001 CGM Technology Software 
Execution Date: 03/17/2009     Time:  15:12:32 

Metafile Examined     : .\Test-Datei\rotateAPS.cgm
Encoding              : Binary

Pictures Examined     : All
Elements Examined     : All
Bytes    Examined     : All

BEGIN METAFILE string : >Rotate-APS<
METAFILE DESCRIPTION  : >"ProfileId:WebCGM""ProfileEd:2.1""ColourClass:colour"<
                        >"Source:CGM Open"<

Picture 1 starts at octet offset 192: >picture_1<


Conformance Summary  :  This file conforms to the CGM specification.

                        However, this file does not satisfy the 
                        WebCGM 1.0 (2R) Profile.


Summary of Testing Performed and Errors Found:

           1 Pictures Tested
          56 Elements Tested
         744 Octets Tested



        0 Illegal CGM Elements                       1000 -   1999
        0 Incorrect CGM Element Lengths              2000 -   2999
        0 CGM State Errors                           3000 -   3499
        0 Required CGM Elements Missing or Wrong     4000 -   4499
        0 CGM Parameter Values Out of Range          6000 -   6499
        0 CGM Structure Errors                       7000 -   7499
        0     ***     CGM Errors Found (total)     ***

        0 Profile State Errors                       3500 -   3999
        0 Illegal Profile Elements                   4500 -   4999
        1 Profile Parameter Values Out of Range      6500 -   6999
        0 Profile Data Limits Exceeded               8500 -   8999
        0 Other Profile Constraints Violated         9500 -   9999
        1     *** Profile Violations Found (total) ***

        1 distinct error(s) and warning(s) reported.


================ End of Conformance Report ==================



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]