This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
format notations
- To: docbook <docbook at lists dot oasis-open dot org>
- Subject: DOCBOOK: format notations
- From: Elliotte Rusty Harold <elharo at metalab dot unc dot edu>
- Date: Tue, 06 Nov 2001 18:10:55 -0500
- List-Id: <docbook.lists.oasis-open.org>
Is there any particular reason why the format attribute of imagedata and
releated elements is not declared to have type NOTATION?
Before parameter entities and conditional sections are resolved its
declaration looks like this:
<!ENTITY % graphics.attrib
"
entityref ENTITY #IMPLIED
fileref CDATA #IMPLIED
format (%notation.class;) #IMPLIED
srccredit CDATA #IMPLIED
width CDATA #IMPLIED
depth CDATA #IMPLIED
align (left
|right
|center) #IMPLIED
scale CDATA #IMPLIED
scalefit %yesorno.attvals;
#IMPLIED
%local.graphics.attrib;"
>
After the entities are resolved it looks lke this:
<!ATTLIST imagedata format
(BMP|CGM-CHAR|CGM-BINARY|CGM-CLEAR|DITROFF|DVI|EPS|EQN|FAX|GIF|GIF87a|GIF89a|JPG|JPEG|IGES|PCX|PIC|PNG|PS|SGML|TBL|TEX|TIFF|WMF|WPG|linespecific)
#IMPLIED >
As near as I can tell those all are in fact notation names. And this
does seem like exactlly what notations are meant for, so is there any
reason format isn't decalred to have type NOTATION? Should this be fixed
in a future version of the Docbook DTD?
--
+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo@metalab.unc.edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+
| Java I/O (O'Reilly & Associates, 1999) |
| http://www.ibiblio.org/javafaq/books/javaio/ |
| http://www.amazon.com/exec/obidos/ISBN=1565924851/cafeaulaitA/ |
+----------------------------------+---------------------------------+
| Read Cafe au Lait for Java News: http://www.cafeaulait.org/ |
| Read Cafe con Leche for XML News: http://www.ibiblio.org/xml/ |
+----------------------------------+---------------------------------+
----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>