Subject: style => name?
From: John L. Clark (jlc6@po.cwru.edu)
Date: Thu Sep 06 2001 - 18:54:01 CDT
Hey guys,
I don't know if I just missed something along the way, but it appears
that what used to be the "style" attribute to a given tag in an *.abw
file has been replaced by the "name" attribute. To see this, simply
write any abiword file using a recent build of abiword, including the
most recently released version. If I missed the discussion of this
change, could someone please post the link to the discussion? If not,
why was this done? I don't understand the necessity, and I find it to
be much more ambiguous when looking at the markup (what does <p
name="Heading 1" ...></p> _mean_?). I would strongly object to this
change. It also has broken the HTML exporter (any others?). I can
easily fix the breakage to the exporter, but I hesitate to do so until I
hear the justification for this change. I also just downloaded
http://www.abisource.com/awml.dtd, and it says nothing about this:
<!ELEMENT p (#PCDATA | c | field | image | cbr | pbr | br)*>
<!ATTLIST p
props CDATA #IMPLIED
level (0|1|2|3|4|5|6|7|8|9|10 | CDATA) #IMPLIED
style CDATA #IMPLIED
listid CDATA #IMPLIED
parentid CDATA #IMPLIED
id ID #IMPLIED>
<!-- p element contain text, images, fields or character
spans. Level is used for lists, style for styles
and props for formatting. listid and parentid are
both used in lists. -->
So none of our currently exported documents are valid xml. What
gives?
John
... doesn't like changes to document structure without at least
/some/ discussion
This archive was generated by hypermail 2b25 : Thu Sep 06 2001 - 18:55:35 CDT