standalone in prolog: specs explanation needed

V

VK

It is possibly more suitable to address this question to W3C mailing
list, but I'm trying here first.

Could anyone comment on <http://www.w3.org/TR/REC-xml/#sec-rmd>

The first statement says:

"If there are external markup declarations but there is no standalone
document declaration, the value "no" is assumed."

A bit below it says:

Validity constraint: Standalone Document Declaration
The standalone document declaration MUST have the value "no" if any
external markup declarations contain declarations of:
<list of circumstances>

Does it mean that for the situations spelled in the MUST section one
has to
explicetly set standalone="no" ? Or does it mean that for the
situations spelled in the MUST section the value "no" /must/ be assumed
and in other situations it /may/ be assumed? Practically for me it was
always obvious to set standalone="no" if DTD is used, without hope on
some default values - but of course it doesn't prove anything.
 
R

Richard Tobin

Or does it mean that for the
situations spelled in the MUST section the value "no" /must/ be assumed
and in other situations it /may/ be assumed?

Since it's a constraint attached to the production for standalone
declarations, I think you should take it as "if there is a standalone
declaration, it must have the value "no" if ...".

You're certainly not required to have one.

-- Richard
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,772
Messages
2,569,591
Members
45,102
Latest member
GregoryGri
Top