W3C home > Mailing lists > Public > public-webcgm-wg@w3.org > January 2009

lineEdgeTypeDef xml coding

From: Don <dlarson@cgmlarson.com>
Date: Sat, 31 Jan 2009 15:26:50 -0600
To: CGM Open WebCGM TC <cgmo-webcgm@lists.oasis-open.org>
cc: WebCGM WG <WebCGM WG public-webcgm-wg@w3.org>, Dave Cruikshank <dvdcruikshank@gmail.com>
Message-ID: <RFUxOTQ1MSY9O0NZKCpSNzk3MTA2OTUz@foghorn>

All

The spec is not clear to me that an ACI file can contain multiple 
lineEdgeTypeDef elements and attribute sets.  

For example is this valid?

<webcgmConfig
  <defaultAttributes>
    <lineEdgeTypeDef lineIndex="1" repeatLength="100" dashLength="10 2 5 2" />
    <lineEdgeTypeDef lineIndex="2" repeatLength="100" dashLength="10 2 10,2" />
    <lineEdgeTypeDef lineIndex="3" repeatLength="100" dashLength="10 2 5 2 5 2" />
  </defaultAttributes>
</webcgmConfig>


Since a Metafile has only 1 lineCap attribute by definition, an ACI can
have only 1 lineCap element but since there can be multiple lineEdgeType
definitions in a Metafile, I would think that specifying multiples is needed.


Another question related to lineEdgeTypeDef, is a negative lineIndex valid
in ACI lineEdgeTypeDef?  I re-call that we debated wheter or not we wanted 
to do this is our last f2f, but just wanted to make sure. As the spec is now,
negative lineIndex is NOT valid.


Don.
Received on Saturday, 31 January 2009 21:29:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 31 January 2009 21:29:36 GMT