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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: Commercial job postings?

[ Lists Home | Date Index | Thread Index ]
  • From: Peter@ursus.demon.co.uk (Peter Murray-Rust)
  • To: xml-dev@ic.ac.uk
  • Date: Wed, 28 May 1997 22:56:29 GMT

In message <9705281416.AA11586@sqrex.sq.com> lee@sq.com writes:
> Peter Murray-Rust wrote:
> > As far as I can see, in
> > validated SGML
> > 
> > <!Doctype A [
> > <!ELEMENT A - o EMPTY>
> > ]>
> > <A> 
> > 
> > and 
> > 
> > <!DOCTYPE A [
> > <!element a - - ANY>
> > ]>
> > <A></A>
> > 
> > both return the same result,
> That depends on what you mean by "return".  ISO 8879 doesn't say anything
> about anyone returning things at all.  They are not distinguished in ESIS,
> but that's just because ESIS is broken in this regard.

Understood.  In that case the question might be 
'for WF XML documents with no Element declaration, are:
<A/>
and
<A></A>
identical?

> 
> > Can attributes have null values?  is
> > 
> > B=""    the same as omitting B when #IMPLIED?
> 
> No, they are not the same -- an attribute value can be zero characters,
> as can an element's content.
            ^^^^^^^^^
My implication from this is that in my second example, A has a child of 
unknown type of null content OR that A has a #PCDATA child which a content
of "".  In which case it could have an effect on (say) counting #PCDATA
children.  If so, it might need flagging in the draft...

	P.


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

-- 
Peter Murray-Rust, domestic net connection
Virtual School of Molecular Sciences
http://www.vsms.nottingham.ac.uk/

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





 

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

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