OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] English sentences, was: Re: [xml-dev] Announce: XMLSchema,

[ Lists Home | Date Index | Thread Index ]

On Thu, 2002-06-27 at 13:30, Jonathan Borden wrote:

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

No, but it is a good use case for extensibility in XML schema languages.

If you are happy with the result of the unix "file" command to determine
the type of a text and see if it's more likely a Java source code, a
snippet of Python or an English text, you may want to validate the
document using its result instead of the code.

I am actually considering implementing pyxie based transformations into
xvif to allow this kind of features:

http://bugzilla.xmlschemata.org/cgi-bin/bugzilla/show_bug.cgi?id=14

Eric
-- 
See you in San Diego.
                               http://conferences.oreillynet.com/os2002/
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
(W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema
------------------------------------------------------------------------





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS