[Bug 5480] [FS] Substitution groups and 8.2.3.1.1

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


Michael Dyck <jmdyck@ibiblio.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED




--- Comment #3 from Michael Dyck <jmdyck@ibiblio.org>  2008-07-07 23:36:57 ---
(In reply to comment #0)

> $input-context has type: document ( element tc:root of Type )
> where Type is element tc:element-schema-head of xsd:string

That's not what I get. 

FS 5.14 Variable Declaration / Static Context Processing / rule 3
tells us that the type of $input-context is
    [[ document-node(schema-element(tc:root)) ]]_sequencetype

FS 3.5.4 SequenceType Matching / Normalization / rule 19 maps that to:
    document { [[ schema-element(tc:root) ]]_sequencetype & (pi|comment)* }

which rule 11 maps to:
    document { element tc:root & (pi|comment)* }

----

Moreover, when I try to work through the (normalization and) static analysis of
    $input-context/tc:root/tc:schema-element-group
I don't get as far as you -- I can't figure out the Definition that would be
put in elemDecl for <element name="root">...</element>. I can see that
D.4.1 Global element declarations / Schema mapping / rule 2
maps it to
    define element tc:root [[ <complexType>...</complexType> ]]_content(tc)
and
D.5.2 Local complex type / Schema mapping / rule 1
maps that to
    define element tc:root [[ <sequence>...</sequence> ]]_mixed_content(tc)
but I don't get any farther than that.


-- 
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 Monday, 7 July 2008 23:37:32 UTC