<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 5.00.2314.1000" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2><SPAN class=894080608-07012000>ad 1)</SPAN></FONT></DIV>
<DIV><FONT size=2><SPAN class=894080608-07012000>yes, the XML grammar is
specified in EBNF (extended backus naur form) in the original XML 1.0
specification (<A
href="http://www.w3.org/TR/1998/REC-xml-19980210#sec-notation">http://www.w3.org/TR/1998/REC-xml-19980210#sec-notation</A>),
but the individual lines of the EBNF are scattered through the specs. For a more
condensed version, please download our XML editor XML Spy (<A
href="http://www.xmlspy.com">http://www.xmlspy.com</A>) which uses an external
EBNF file to drive its parser, so you can simply take the file "gra_xml.txt" as
a starting point after installing our software.</SPAN></FONT></DIV>
<DIV><FONT size=2><SPAN class=894080608-07012000></SPAN></FONT> </DIV>
<DIV><FONT size=2><SPAN class=894080608-07012000>ad 2)</SPAN></FONT></DIV>
<DIV><FONT size=2><SPAN class=894080608-07012000>XML is defined as a Unicode
compliant document, so the XML "keywords" (or more correctly: element names) can
come from almost any other character set. If you are interested, I have
collected numerous international XML example documents that contain korean,
japanes, russian, thai, etc. element names.</SPAN></FONT></DIV>
<DIV><FONT size=2><SPAN class=894080608-07012000></SPAN></FONT> </DIV>
<DIV><FONT size=2><SPAN class=894080608-07012000>ad 3)</SPAN></FONT></DIV>
<DIV><FONT size=2><SPAN class=894080608-07012000>two different
answers:</SPAN></FONT></DIV>
<DIV><FONT size=2><SPAN class=894080608-07012000>a) if your document does not
refer to a DOCTYPE (either internally or to an external DTD file) and it is
well-formed, then it is also considered valid</SPAN></FONT></DIV>
<DIV><FONT size=2><SPAN class=894080608-07012000>b) if you include a DOCTYPE
that defines only <!ENTITY ...> rules, but not <!ELEMENT ...>
constrains, then your document will also be not imposing any restrictions and be
valid</SPAN></FONT></DIV>
<DIV><FONT size=2><SPAN class=894080608-07012000></SPAN></FONT> </DIV>
<DIV><FONT size=2><SPAN class=894080608-07012000>ad 4)</SPAN></FONT></DIV>
<DIV><FONT size=2><SPAN class=894080608-07012000>no, a document can only refer
to one external DTD file. However, an external DTD can then include several
other "partial" DTD files, so you can easily separate your document type into
smaller chunks and put them together individually for each XML file depending on
the particular needs. The key is to use "external entities" in the DTD that are
then resolved by including an external file.</SPAN></FONT></DIV>
<DIV><FONT size=2><SPAN class=894080608-07012000></SPAN></FONT> </DIV>
<DIV><FONT size=2><SPAN class=894080608-07012000>ad 5)</SPAN></FONT></DIV>
<DIV><FONT size=2><SPAN class=894080608-07012000>yes, you can also define
DOCTYPEs that declare elements recursively. This is OK and is in fact also used
in many popular DTDs (e.g. XHTML 1.0)</SPAN></FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2><SPAN class=894080608-07012000>Sincerely,</SPAN></FONT></DIV>
<DIV><FONT size=2><SPAN class=894080608-07012000></SPAN></FONT> </DIV>
<DIV><FONT size=2><SPAN class=894080608-07012000>Alexander
Falk</SPAN></FONT></DIV>
<P><FONT size=1>... Icon Informations-Systeme GmbH<BR><SPAN
class=894080608-07012000></SPAN><SPAN class=894080608-07012000>... makers of the
XML Spy editor (<FONT color=#000000><A
href="http://www.xmlspy.com">http://www.xmlspy.com</A>)</FONT></SPAN><BR>...
ALEXANDER FALK</FONT> <BR><FONT size=1>... President, CEO</FONT> <BR><FONT
size=1>...</FONT><U> <FONT color=#0000ff size=1><A
href="http://www.icon.at/falk"
target=_blank>http://www.icon.at/falk</A></FONT></U> </P>
<BLOCKQUOTE>
<DIV align=left class=OutlookMessageHeader dir=ltr><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> V P Krishnan
[mailto:vilayanur.krishnan@intelligroup.com]<BR><B>Sent:</B> Friday, January
07, 2000 2:41 AM<BR><B>To:</B> xml-dev@ic.ac.uk<BR><B>Subject:</B> FW:
[techspace] Re: Questions related to XML<BR><BR></DIV></FONT>
<DIV><SPAN class=567113901-07012000><FONT color=#0000ff face=Arial size=2>We
had the following questions that came up during our internal discussions.
Would appreciate anyone taking time for an answer to Q1 through Q4.
</FONT></SPAN></DIV>
<DIV><SPAN class=567113901-07012000><FONT color=#0000ff face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=567113901-07012000><FONT color=#0000ff face=Arial
size=2>Thanks</FONT></SPAN></DIV>
<DIV><SPAN class=567113901-07012000><FONT color=#0000ff face=Arial
size=2></FONT></SPAN><SPAN class=567113901-07012000><FONT color=#0000ff
face=Arial size=2>vp</FONT></SPAN></DIV>
<DIV class=OutlookMessageHeader><FONT face="Times New Roman"
size=2>-----Original Message-----<BR><B>From:</B> Muthu Kuttalingam
[mailto:muthu.kuttalingam@intelligroup.com] <BR><B>Sent:</B> Thursday, January
06, 2000 6:30 PM<BR><B>To:</B> techspace@egroups.com<BR><B>Subject:</B>
[techspace] Re: Questions related to XML<BR><BR></FONT></DIV>
<DIV><FONT color=#0000ff size=1><FONT color=#008080 size=1>
<P><SPAN class=320242501-07012000><FONT color=#008080 face=Arial size=2>The
following XML is well-formed according to XML Spy 2.5 an XML editor. So I
guess, the answer to question number 5 is yes.</FONT></SPAN></P>
<P><?xml version="1.0" encoding="UTF-8"?></P></FONT><FONT color=#0000ff
size=1>
<P><</FONT><FONT color=#800000 size=1>test</FONT><FONT color=#0000ff
size=1>></FONT></P>
<P><FONT color=#0000ff size=1></FONT><FONT color=#0000ff size=1><SPAN
class=320242501-07012000><FONT color=#0000ff face=Arial
size=1> </FONT></SPAN><</FONT><FONT color=#800000
size=1>test</FONT><FONT color=#0000ff size=1>></P>
<P></P></FONT><FONT color=#000000 size=1>
<P></FONT><FONT color=#0000ff size=1><SPAN class=320242501-07012000><FONT
color=#0000ff face=Arial size=1>
</FONT></SPAN><</FONT><FONT color=#800000 size=1>test</FONT><FONT
color=#0000ff size=1>></FONT><FONT color=#000000 size=1>This is a
test</FONT><FONT color=#0000ff size=1></</FONT><FONT color=#800000
size=1>test</FONT><FONT color=#0000ff size=1>></P>
<P></P></FONT><FONT color=#000000 size=1>
<P></FONT><FONT color=#0000ff size=1><SPAN class=320242501-07012000><FONT
color=#0000ff face=Arial size=1> </FONT></SPAN></</FONT><FONT
color=#800000 size=1>test</FONT><FONT color=#0000ff size=1>></P>
<P></</FONT><FONT color=#800000 size=1>test</FONT><FONT color=#0000ff
size=1>></P>
<P></FONT></P></FONT></DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #0000ff 2px solid; MARGIN-LEFT: 5px; PADDING-LEFT: 5px">
<DIV class=OutlookMessageHeader><FONT face="Times New Roman"
size=2>-----Original Message-----<BR><B>From:</B> kaustubh.kunte
[mailto:kaustubh.kunte@intelligroup.com]<BR><B>Sent:</B> Wednesday, January
05, 2000 9:46 PM<BR><B>To:</B> techspace@egroups.com<BR><B>Subject:</B>
[techspace] Questions related to XML<BR><BR></FONT></DIV>
<DIV><FONT size=2>Here are the list of questions which came up during XML
discussion. If you find an answer to any of these,</FONT></DIV>
<DIV><FONT size=2>please do share it with the techspace
community.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>1. Can XML grammar be represented in Backus Naur format (
BNF ) .</FONT></DIV>
<DIV><FONT size=2>2. Should XML keywords be always represented in a specific
ASCII format or can you use different character set .</FONT></DIV>
<DIV><FONT size=2>3. How to define a NULL DTD. ie a DTD which specifies no
constraints. This questions came up because a DTD </FONT></DIV>
<DIV><FONT size=2>is required for a document to be valid. So can we define a
NULL DTD which will effectively treat all well formed XML
documents</FONT></DIV>
<DIV><FONT size=2>as valid documents.</FONT></DIV>
<DIV><FONT size=2>4.Is there a way of declaring multiple external dtd's in
the document type declaration ?</FONT></DIV>
<DIV><FONT size=2>5. Can a child element have same name as the parent
element ?</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>Jai XML
!!</FONT></DIV></BLOCKQUOTE><BR></BLOCKQUOTE></BODY></HTML>