|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XML Notation PI
"Pierre, Sebastian" wrote: > I don't really see what it is useful for, because I remember that when a > browser encounters a notation, he tries to give it to the program indicated > by the SYSTEM address associated to the notation, this address can be > pointed by an FPI. You have (subtly) misread the XML Recommendation. Clause 4.7 says: # They [XML processors] may additionally resolve the external identifier # into the system identifier, file name, or other information needed to # allow the application to call a processor for data in the notation described. That is *not* the same as saying that the system identifier of a notation declaration should be a path to an interpretive program. Indeed, the XML Rec does not specify the semantics of either the system or the public identifier of a notation. In SGML, however, the convention was that the external identifier information pointed to the *definition* of the notation, either in a machine-processable form or (more typically) in a natural language such as English. That allowed someone receiving the document to identify an appropriate processor, in the worst case by implementing it! > For example if I have a PNG notation in my XML file, how can I get IE5 > or Mozilla to display it? There is no standard convention for this, and indeed the use of notations is probably excessively painful for this purpose: one must declare a notation, declare an external entity using this notation, declare an appropriate element with an appropriate attribute of type ENTITY, and use the element at the appropriate place. Use XLink instead. -- Schlingt dreifach einen Kreis um dies! || John Cowan <jcowan@r...> Schliesst euer Aug vor heiliger Schau, || http://www.reutershealth.com Denn er genoss vom Honig-Tau, || http://www.ccil.org/~cowan Und trank die Milch vom Paradies. -- Coleridge (tr. Politzer) *************************************************************************** This is xml-dev, the mailing list for XML developers. To unsubscribe, mailto:majordomo@x...&BODY=unsubscribe%20xml-dev List archives are available at http://xml.org/archives/xml-dev/ ***************************************************************************
|
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
|
|||||||||

Cart








