|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Confusion regarding notation processing
Amit Rekhi wrote: > > <?xml version="1.0" ?> > <!DOCTYPE start-ele [ > <!NOTATION MyFormat SYSTEM "MyFormatProcessor.exe"> > <!ENTITY MyEnt SYSTEM "MyFormatData.txt" NDATA MyFormat> > <!ELEMENT start-ele EMPTY> > <!ATTLIST attr-for-notation ENTITY #REQUIRED> > ]> > <start-ele attr-for-notation=MyEnt /> > > When a VALIDATING xml processor will start processing the above, will it > only pass > > * Notation name (MyFormat in above case) > * Notation System Identifier (MyFormatProcessor.exe) > * Entity systm. identifier (MyFormatData.txt) > > to the application (on behalf of which the xml processor is validating) , or > is it also expected to pass the non XML data file(MyFormatData.txt) to it's > related process (MyFormatProcessor.exe) and initiate the processing? I don't think that the XML spec. is very specific about the responsibilities of processors, but the convention in both the SGML and the XML worlds is to pass the information you describe *from the XML document* and let the application handle the actual fetching and processing of the data. Personally, I do not think it is a good habit to point to an executable as the system identifier of a notation. Every notation has an potentially unbounded list of apps that can work with it: printers, renderers, COM components, Java beans, etc. etc. Which one would you put in the system declaration? Paul Prescod - http://itrc.uwaterloo.ca/~papresco Bart: Dad, do I really have to brush my teeth? Homer: No, but at least wash your mouth out with soda. 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
|
|||||||||

Cart








