https://bugzilla.wikimedia.org/show_bug.cgi?id=18231

Redrose64 <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #15 from Redrose64 <[email protected]> 2011-06-26 16:03:47 
UTC ---
Regarding the following two paragraphs in the post of 2011-06-26 15:32:06

> <ref source="somewhere">Statement with A as source. <ref source="somwhere
else">Statement with both A and B as source.</ref> Statement with B as
source.</ref>

> The </ref> part has to include a name tag as well, or else you won't be able 
> to
distinguish which references you are closing.

SGML-type markup languages - whether XML, HTML, XHTML or whatever - do not
permit overlapping elements. Each element has an opening tag - <ref
source="somewhere"> or <ref source="somwhere else"> - some content, and a
closing tag - </ref>.

Closing tags never have identifiers, and always close the most recently opened
unclosed element. So, in this example, the first </ref> closes the second <ref>
(that with source="somwhere else"), and the second </ref> closes the first
<ref> (source="somewhere").

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to