EMBED and validation

Rob McDougall RMcDouga at JetForm.com
Tue Dec 2 15:35:45 GMT 1997


Thanks to everyone for the replies.  I now (think I) understand how this
would be used.  This method does require that the person creating the
document specify all the URLs he will be "include"ing at the top of the
file.  This is somewhat inconvenient for someone who only inserts things
once into any given document.  If the documents are being generated on
the fly from some application, the application may have to perform two
passes to derive a list of filenames, or else "bulk up" the document
with lots of entities that may never be substituted.

It would be nice if there was also an "inline" way of doing includes
that would allow the XML parser to validate the resulting content.

Rob
=======================================================
Rob McDougall            Phone:  (613)751-4800 ext.5232
JetForm Corporation      Fax:    (613)751-4864                 
http://www.jetform.com   mailto:rmcdouga at jetform.com
=======================================================

>-----Original Message-----
>From:	dgd at cs.bu.edu [SMTP:dgd at cs.bu.edu]
>Sent:	December 1, 1997 10:34 PM
>To:	'xml-dev at ic.ac.uk'
>Subject:	Re: EMBED and validation
>
>
>for example, you might have:
>
><!doctype RML SYSTEM "some:URL/goes/here"
>[
><!ENTITY boilerplate SYSTEM "http://Joes-server.isp.com/disclaimer">
>]>
>
>.... later on in your document ...
>&boilerplate;
>
>The entity reference to "boilerplate" will include the whole disclaimer
>without
>having to change the DTD, or fill it with weird private information. Is this
>good enough?
>
>------------------------------------------+----------------------------
>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 WW
>
>

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