[Bug 6325] New: [DM] Type Hierarchy diagram confusing

View: New views
3 Messages — Rating Filter:   Alert me  

[Bug 6325] New: [DM] Type Hierarchy diagram confusing

by Bugzilla from bugzilla@wiggum.w3.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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

           Summary: [DM] Type Hierarchy diagram confusing
           Product: XPath / XQuery / XSLT
           Version: Recommendation
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Data Model
        AssignedTo: alb.w3c@...
        ReportedBy: mike@...
         QAContact: public-qt-comments@...


Comment from a reader/user who misread the type hierarchy diagram (appearing in
both DM and FO). See the thread starting at

http://markmail.org/message/or2ialckrngn5xdk

<quote>
My mistake was I drew the wrong conclusion from the Type Hierarchy diagram:
http://www.w3.org/TR/xpath-datamodel/#types-hierarchy. There is a line from
xs:QName to xs:string on the diagram, which I was incorrect in thinking was
xs:QName -> xs:string. In reality it is of course two lines merging that
represent xs:QName -> xs:anyAtomicType, and xs:string -> xs:anyAtomicType.

IMHO the edges of the graph on the diagram should state their direction. UML
has the transparent arrow head symbol to represent the direction for this
relationship. Something similar here would be a good idea.
</quote>

Another point about this diagram: I think it's really confusing trying to
present two type hierarchies (schema types and item types) on one diagram. It
would be much better to split them into separate diagrams.


--
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.


[Bug 6325] [DM] Type Hierarchy diagram confusing

by Bugzilla from bugzilla@wiggum.w3.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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





--- Comment #1 from Michael Rys <mrys@...>  2008-12-19 18:26:43 ---
Adding arrows may be a good idea, but I think showing the connection of schema
types and item types in one hierarchy is important. The original diagram called
the distinction out using shapes and colors... Maybe we could improve the
visual clues, but I think it is important to show that atomic types are both
while complex types and node types are just one...


--
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.


[Bug 6325] [DM] Type Hierarchy diagram confusing

by Bugzilla from bugzilla@wiggum.w3.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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


Jim Melton <jim.melton@...> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jim.melton@...
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX




--- Comment #2 from Jim Melton <jim.melton@...>  2009-10-27 15:36:02 ---
After considerable reflection, the WGs decided not to make any changes to the
type hierarchy diagrams (in either the Data Model document or the Functions and
Operators document) with respect to the 2007 Recommendations for XQuery 1.0 and
XPath 2.0.  The WGs do not believe that it makes sense to revise the diagram
retroactively for the Recommendations.  Therefore, I'm marking the bug
RESOLVED/WONTFIX (for the Recommendations) and trust that you are willing to
mark the bug CLOSED.

However, we have taken positive action for the XQuery 1.1 and XPath 2.1 drafts
by splitting the diagram into three diagrams (one for "item", one for
"xs:anyType", and the last for "xs:anyAtomicType"), with arrows "pointing" from
derived types "up" to the types from which they are derived.

Hope this helps.


--
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.