[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

English sentences, was: Re: Announce: XML Schema,


english sentences
John Cowan wrote:

[[
Jonathan Borden scripsit:

> > Sure, but that doesn't make façade *wrong*.  Are you going to say that
> > <text>His attitude is a mere façade</text> must not validate against
> > a database library with a "text-en" datatype?
> >
>
> I suppose that if I went to the trouble to specify "text-en" that I
probably
> wouldn't want that to validate.

But why not?  It is unquestionably an English sentence, even if one of
the words in it has an unusual orthography.
]]

It all depends on what exactly you want, or intend the validator to do. What
you are saying, in essense, is that an "English sentence" is not defined as
a sequence of characters which conform to "text-en" and this is most true.
Indeed to reliably detect an English sentence the 'recognizer' needs to
understand how to form words from characters and sentences from words. This
is way outside the capabilities of the XML schema definition languages we
have been discussing.

Recognizing and processing natural language is something that's been done
for a couple of decades -- albeit imperfectly -- and as I am sure you are
aware, the grammar(s) are complicted -- what is generally needed is some
notion of the intended semantics of the sentences. In any case, this example
isn't a good use case for XML schema languages and 'validity'.

Jonathan


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.