[Bug 5782] Definition of simpleType.{final}

http://www.w3.org/Bugs/Public/show_bug.cgi?id=5782


C. M. Sperberg-McQueen <cmsmcq@blackmesatech.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cmsmcq@blackmesatech.com




--- Comment #3 from C. M. Sperberg-McQueen <cmsmcq@blackmesatech.com>  2009-04-11 01:12:35 ---
Short analysis:  a typo was allowing the stylesheet templates which
create the HTML display to believe that Simple Type Definition
has a 'final' property (duly displayed) in addition to a 'final ' property
inherited from Type Definition.

This is now believed to be fixed in (a) the XML source and (b) the
status-quo documents pointed to from the editorial pointers page
at http://www.w3.org/XML/Group/2004/06/xsd-ed-pointers.html
(member-only link).  Calmer eyes than mine should verify that the
problem has indeed been repaired before the issue is closed.

.........................

Longer story (I apologize for the wordy exculpations which follow,
but I feel the need for some record of how I spent the last hour 
and why a one-keystroke fix took so long to make.  Otherwise it
might be [even more] embarrassing.)

The problem appears to have been caused by a stray blank in the
name of the 'final' property on the (internal) XML representation of
the type definition component.  The display routines responsible for
checking to see whether it had been overridden by the XML
element representing Simple Type Definition components were
deceived by this -- they had seen a local definition of a 'final'
property, but not of a 'final ' property.

Diagnosis was complicated by the fact that the same extra trailing
blank was present in the deleted copy of the property description,
so that the diff against 1.0 correctly showed two final properties,
one ('final ') deleted and one ('final') added.  This made it look
as if there were a problem with the handling of diff markup in 
the component descriptions, or (oh, the horror) with the way
the makefile handles the dependencies among the component
definitions file and its various diff-processed derivates.

Moral of the story:  don't make typos?


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Saturday, 11 April 2009 01:12:45 UTC