W3C home > Mailing lists > Public > public-qt-comments@w3.org > November 2012

[Bug 19839] [XSLT30] suggestion for an improved text for definition

From: <bugzilla@jessica.w3.org>
Date: Sun, 04 Nov 2012 05:05:05 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-19839-523-cktA53wAYQ@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=19839

--- Comment #2 from Mukul Gandhi <gandhi.mukul@gmail.com> ---
the modification, "except an element whose type annotation identifies a type
defined in the schema to have element-only content" looks nice to me.

> I've never really understood why elements are declared and types are defined

What I've understood, that this is conceptually similar to variable
declarations in quite a number of programming languages. For e.g, when we write
"int x;" in a programming language we say that a variable "x" is declared while
a type "int" was defined.

In an XSD document if we write,

<xs:element name="x" type="int"/>  and then if we compare this with an example
"int x;", we can say with XSD that an element is declared and a type is
defined.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Sunday, 4 November 2012 05:05:06 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:40 UTC