EMBED and validation
David G. Durand
dgd at cs.bu.edu
Wed Dec 3 17:23:54 GMT 1997
On Dec 3, 9:00am, Peter Murray-Rust wrote:
> Subject: RE: EMBED and validation
> At 22:59 02/12/97 -0500, David G. Durand wrote:
> >At 12:12 AM -0000 12/3/97, Peter Murray-Rust wrote:
> Enlightenment has slowly come. I think we actually need an additional
> NOTATION as well as SRC so that the final document reads.
No. I will correct it again, levaing only _legal_ text in the message.
In the DTD, the following must appear (for XML-validating applications only):
<!NOTATION GIF
PUBLIC "+//IDN ds.internic.net/rfc/rfc2046.txt//NOTATION
Multipurpose Internet Mail Extensions::image/gif//EN">
<!NOTATION JPEG
PUBLIC "+//IDN ds.internic.net/rfc/rfc2046.txt//NOTATION
Multipurpose Internet Mail Extensions::image/jpeg//EN">
<!ELEMENT CML (IMG)*>
<!ELEMENT IMG (EMPTY)>
<!ATTLIST IMG SRC ENTITY #REQUIRED>
The Inbternal subset would look like this:
<!DOCTYPE CML [
<!ENTITY mygif SYSTEM "my.gif" NDATA GIF>
<!ENTITY myjpeg SYSTEM "my.jpg" NDATA JPEG>
]>
<CML>
<IMG SRC="mygif"/>
<IMG SRC="myjpeg"/>
> </CML>
The notation _does not need_ to appear on the link. At all. It's a property of
the _entity_. Once you declatre the entity you are done.
I _think_ that you can also turn the same instance markup into XLL markup (by
using HREF instead of SRC (or can you rename it, I forget), and also changing
the entity declaration.
I have to reread the XLL spec., as it's been a while.
> Have I finally got there? It seems to make sense... (The same levels of
> indirection still apply, of course).
No, you're still making it too complicated. Look at my entity declarations, and
instance markup carefully, that's the only thing I had to change.
------------------------------------------+----------------------------
David Durand dgd at cs.bu.edu| david at dynamicDiagrams.com
Boston University Computer Science | Dynamic Diagrams
http://www.cs.bu.edu/students/grads/dgd/ | http://dynamicDiagrams.com/
| MAPA: mapping for the WWW
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)
More information about the Xml-dev
mailing list