Go Back   Velocity Reviews > Newsgroups > XML
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

XML - q) XML Schema and valid XML documents

 
Thread Tools Search this Thread
Old 10-30-2009, 05:49 PM   #1
Default q) XML Schema and valid XML documents


Wikipedia provides the following definition for valid XML document
(http://en.wikipedia.org/wiki/XML):

it contains a reference to a Document Type Definition (DTD),
and that its elements and attributes are declared in that DTD
and follow the grammatical rules for them that the DTD
specifies.


There is no reference to XML Schema in the above defintion. I am
presuming that this is a dated definition for valid XML document and
that an XML document that has an XML Schema associated with it is also
a valid XML document.

Kindly confirm.

Thanks,
Ramesh


Generic Usenet Account
  Reply With Quote
Old 10-30-2009, 06:14 PM   #2
Richard Tobin
 
Posts: n/a
Default Re: q) XML Schema and valid XML documents
In article <cfa21e4e-a46b-4f13-91af->,
Generic Usenet Account <> wrote:

> it contains a reference to a Document Type Definition (DTD),
> and that its elements and attributes are declared in that DTD
> and follow the grammatical rules for them that the DTD
> specifies.


>There is no reference to XML Schema in the above defintion.


Without additional context, "valid" means "valid according to its
DTD", and that's how it's defined in the XML spec. In the context of
XML Schemas, it can of course mean "valid according to a schema". If
you want to be less ambiguous, use the term "schema valid" or (since
there are other schema languages) "XML Schema valid".

-- Richard
--
Please remember to mention me / in tapes you leave behind.


Richard Tobin
  Reply With Quote
Old 11-02-2009, 12:08 PM   #3
Andy Dingley
 
Posts: n/a
Default Re: q) XML Schema and valid XML documents
On 30 Oct, 17:49, Generic Usenet Account <use...@sta.samsung.com>
wrote:
> Wikipedia provides the following definition for valid XML document
> (http://en.wikipedia.org/wiki/XML):


I'm normally fairly pro-Wikipedia, but many of the software articles
are poor, and certainly the XML stuff.

There's very little need for WP content on technical issues like this,
as it's well described elsewhere. This also discourages (or fails to
encourage) the competent WP editors to do anything about the XML
content. So read those sources, not WP.


Andy Dingley
  Reply With Quote
Old 11-02-2009, 09:03 PM   #4
Peter Flynn
 
Posts: n/a
Default Re: q) XML Schema and valid XML documents
Andy Dingley wrote:
> On 30 Oct, 17:49, Generic Usenet Account <use...@sta.samsung.com>
> wrote:
>> Wikipedia provides the following definition for valid XML document
>> (http://en.wikipedia.org/wiki/XML):

>
> I'm normally fairly pro-Wikipedia, but many of the software articles
> are poor, and certainly the XML stuff.
>
> There's very little need for WP content on technical issues like this,
> as it's well described elsewhere. This also discourages (or fails to
> encourage) the competent WP editors to do anything about the XML
> content. So read those sources, not WP.


Oh dear. It has deteriorated, hasn't it? It used to be much better than
that. When I have more time...

///Peter


Peter Flynn
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46