[Expat-discuss] clarification

Carlos Pereira carlos@pehoe.civil.ist.utl.pt
Sat Nov 30 21:31:01 2002


According to Simon St. Laurent, XML Elements of Style,
these declarations should both be valid:

<?xml?>
<?xml encoding="UTF-8" standalone="yes"?>

but at least to me Expat seems to require the 
version="1.0" attribute, as for example, this 
is accepted:

<?xml version="1.0"?>

Is Simon wrong? Did the XML specification change?
Could someone comment on this?

Carlos



More information about the Expat-discuss mailing list