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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   How will XML processors pass notation name, identifiers to applications?

[ Lists Home | Date Index | Thread Index ]
  • From: "Amit Rekhi" <amitr@abinfosys.com>
  • To: "xml list" <xml-dev@ic.ac.uk>
  • Date: Mon, 16 Nov 1998 16:22:08 +0530

Hello,
            After having read about NOTATIONS in XML from the spec.
I had a ques. :-

 I have a sample xml file :-

<?xml version="1.0" ?>
<!DOCTYPE start-ele [
   <!NOTATION MyFormat SYSTEM "http://www.my.net/myformat.spc">
   <!ENTITY MyEnt SYSTEM "MyFormatData.ent" 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, it is
supposed to pass

1) Notation Name (MyFormat in above case)
2) Notation System Identifier (http://www.my.net/myformat.spc)
3) Entity Name (MyEnt in the above case)
4) Entity System Identifier (MyFormatData.ent)

to the application (on behalf of which the xml processor is validating).
 
 
- How will the application know which are the elements for which
the Notation name, Notation System ID,Entity Name,Entity System ID
are to be taken from the XML processor?
 
- How will the XML processor pass the above 4 to the application?


Thanks in advance,

AMIT REKHI




 

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

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