How will XML processors pass notation name, identifiers to applications?
Amit Rekhi (amitr@abinfosys.com)
Mon, 16 Nov 1998 16:22:08 +0530
This is a multi-part message in MIME format.
------=_NextPart_000_0110_01BE117D.42113240
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hello,
After having read about NOTATIONS in XML from the spec.=20
I had a ques. :-
I have a sample xml file :-
<?xml version=3D"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=3DMyEnt />
When a validating xml processor will start processing the above, it is=20
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=20
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
------=_NextPart_000_0110_01BE117D.42113240
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
Hello,
&nbs=
p; =20
After having read about NOTATIONS in XML from the spec.
I had a ques. :-
I have a sample xml file =
:-
<?xml=20
version=3D"1.0" ?>
<!DOCTYPE start-ele =
[
=20
<!NOTATION MyFormat SYSTEM "
http://www.my.net/myformat.spc">
=
<!ENTITY MyEnt=20
SYSTEM "MyFormatData.ent" NDATA MyFormat>
=20
<!ELEMENT start-ele EMPTY>
<!ATTLIST =
attr-for-notation=20
ENTITY #REQUIRED>
]>
<start-ele attr-for-notation=3DMyEnt =
/>
When a validating xml processor will start processing the =
above, it=20
is
supposed to pass
1) Notation Name (MyFormat in above =
case)
2)=20
Notation System Identifier (
http://www.my.net/myformat.spc)
3) Entity Name (MyEnt in the above case)
4) Entity System =
Identifier=20
(MyFormatData.ent)
to the application (on behalf of which the xml =
processor is validating).
- How will the application know which =
are the=20
elements for which
the Notation name, Notation System =
ID,Entity=20
Name,Entity System ID
are to be taken from the XML=20
processor?
- How will the XML processor pass the above 4 to the=20
application?
Thanks in advance,
AMIT =
REKHI
------=_NextPart_000_0110_01BE117D.42113240--
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)