[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: EMBED and validation
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@c...| david@d... 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@i... Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ To (un)subscribe, mailto:majordomo@i... the following message; (un)subscribe xml-dev To subscribe to the digests, mailto:majordomo@i... the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:rzepa@i...)
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|