OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: EMBED and validation

[ Lists Home | Date Index | Thread Index ]
  • From: dgd@cs.bu.edu (David G. Durand)
  • To: Peter Murray-Rust <peter@ursus.demon.co.uk>, xml-dev@ic.ac.uk
  • Date: Wed, 3 Dec 1997 13:12:24 -0400

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@cs.bu.edu| david@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@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS