Re: [DOMCore] unparseable sentence in §5.6.1

On 05/27/2011 01:15 AM, David Flanagan wrote:
> This text from §5.6.1 is an unparseable run-on sentence:
>> Unless explicitly given when an |Attr
>> <http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#attr>|
>> object is created, its namespace
>> <http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-attr-namespace>
>>  and namespace prefix
>> <http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-attr-namespace-prefix>
>>  are null and its qualified name
>> <http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-attr-qualified-name>
>>  is its namespace prefix
>> <http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-attr-namespace-prefix>,
>>  followed by a "|:|" (U+003A), followed by its local name
>> <http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-attr-local-name>,
>>  if its namespace prefix
>> <http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-attr-namespace-prefix>
>>  is not null, or otherwise qualified name
>> <http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-attr-qualified-name>
>>  is just its local name
>> <http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-attr-local-name>.
>>

I've attempted at clarify it as:

# If an Attr's namespace prefix is not null, its qualified name is
# defined as its namespace prefix, followed by a ":" (U+003A), followed
# by its local name. Otherwise, its qualified name is defined as its
# local name.

http://dvcs.w3.org/hg/domcore/rev/2af213844d36

Thanks
Ms2ger

Received on Friday, 3 June 2011 08:26:24 UTC