[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

categories without items



The element categories is defined as:
<!ELEMENT categories (item)* >

This implies we can have a categories element in the absence of any
items,
i.e. just an empty tag, <categories></categories>.

I can see no reason for explicitly allowing empty elements. Defining
categories as:
<!ELEMENT categories (item)+ >
forces categories, if present, to have at least one item of information.

Martin
begin:vcard 
n:Lee;Martin
tel;fax:+44 (207) 757 2699
tel;work:+44 (207) 757 2659
x-mozilla-html:FALSE
url:http://www.ebookers.com
org:Ebookers.com
adr:;;34-42 Woburn Place;London;;WC1H 0TA;England
version:2.1
email;internet:martin@xxxxxxxxxxxx
title:Ecommerce Programmer
x-mozilla-cpt:;25760
fn:Martin Lee
end:vcard