White spaces in Dtd.

Tikva Schmidt tikvas at agentsoft.com
Sun Jun 15 07:55:17 BST 1997

I'm a developer at AgentSoft Ltd. We create tools for  Web
Automation and are now trying to make our inteligant agents work 
with XML.
   In trying to create a Dtd parser I came across several unclear things
for example the usage of white spaces in the dtd.It seems like the
grammer has set rules for where space are allowed or needed,and when
they can be replaced by an entity refering to space.I also thought the
dtd was supposed to be easy to parse.I came across something which
is either a mistake or an unclear design.For example the rule for
elementdecl is  " '<!ELEMENT' S %Name %S %contentspec S? '>'  "
this looks like an entity reference for the %S following the name would 
have to be directly after the name with no space between them. This
makes parsing more dificult for machines and the human eye.Perhaps there 
is a mistake in defining the meaning of %a,or perhaps the % shouldn't
appear before the S... 
   What should I expect for $S ???

      Tikva Schmidt.

Tikva Schmidt.
email: tikvas at agentsoft.co.il
corp:  Agentsoft Ltd.          http://www.agentsoft.co.il
Phone: 972-2-6480573

xml-dev: A list for W3C XML Developers
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To unsubscribe, send to majordomo at ic.ac.uk the following message;
unsubscribe xml-dev
List coordinator, Henry Rzepa (rzepa at ic.ac.uk)

More information about the Xml-dev mailing list