W3C home > Mailing lists > Public > www-dom@w3.org > July to September 1998


From: Sadao YASHIRO <sada@flab.fujitsu.co.jp>
Date: Fri, 24 Jul 1998 21:39:29 +0900
Message-Id: <9807241239.AA01104@anima.flab.fujitsu.co.jp>
To: www-dom@w3.org

I'm now trying to design a DOM builder. 
But I have one problem with the attribute value default declaration,

For example, some XML document is described like following:

---in a DTD----

---in a content ---
<elem />

What kind of DOM object should be created for the "elem" element?

 1) "elem" element object including "attr" attribute object
 2) "elem" element object including no attribute object

If 1) is created, an application can easily understand a existance of 
"IMPLIED" attribute. On the other hand, if 2) is created, an application
need to check a DTD object to know whether any "IMPLIED" attribute is 
specified or not.

Thanks in advance.

Best regards.

  -Sadao Yashio, Fujitsu Laboratories Ltd.
Received on Friday, 24 July 1998 08:44:12 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:04 UTC