Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [xml-dev] Don't you need an XML Virtual Machine ?

From: Philippe Poulard <Philippe.Poulard@------.-----.-->
To: "Oleg A. Paraschenko" <olpa@-------.-->
Date: 4/3/2006 7:30:00 AM
Oleg A. Paraschenko wrote:
> Hi Philippe,
> 
> On Thu, 30 Mar 2006 17:01:57 +0200
> Philippe Poulard <Philippe.Poulard@s...> wrote:
> 
> ...
> 
>>>I used to utilize the buzzword "XML Virtual Machine" for my works, but
>>>now I'm in doubt. What "XML Virtual Machine" could be? What properties
>>>are expected from it?
>>
>>I would answer the same for Java : any machine that could translate XML 
>>in something that can run on this machine
>>
>>I called my executable XML "Active Tags" ; Active Tags just specifies a 
>>behaviour, not how you could implement it : if you want to write an 
>>interpreter or a compiler, translate XML to Java code (or any other 
>>language), load precompiled classes, or combine several of them, you're 
>>welcome.
>>
>>RefleX is an implementation in Java of Active Tags. I find it close to 
>>the idea of what people would think of an "XML Virtual Machine" : a 
>>general-purpose environment that can perform programs made with tags.
>>The idea of "general-purpose" is more important than "tags" : a syntax _
>> la XQuery could be a candidate, but XQuery is not a "general-purpose" 
>>language ; thus a pure implementation of XQuery can't be an "XML Virtual
>> Machine", although it could be extended to.
>>
>>Of course, all that can be discussed :)
> 
> 
> I think I remembered an essentioal property which is expected from a
> virtual machine. VM is a target for at least one language. For example,
> Java is compiled to JVM; C#, Basic.NET and others *.NET are compiled to
> CLR VM (don't remember its name). You urgently need to compile something
> to ActiveTags.

In this way, RefleX is not a VM : few times ago, I was generating some 
Java code from XML, but it appears that pre-compiled classes were doing 
almost the same job.
However, I'm still thinking on a way to mix Java code within XML tags ; 
of course, such parts will be compiled. Maybe in a next release ?

> 
> 
>>>And are you sure that just using XML syntax for programming qualifies
>>>for the proud title of "XML Virtual Machine"?
>>
>>As I said previously, I think it's not enough.
>>
>>XML technologies like XML and XPath are used in Active Tags to achieve 
>>things that are not necessary related to XML.
> 
> 
> Oh, it's an emerging topic. Added RefleX to my reseearch wiki:
> 
> http://xmlhack.ru/protva/xquery/index.php/BibReferences
> 
> 
>>-- 
>>Cordialement,
>>
>>               ///
>>              (. .)
>>  --------ooO--(_)--Ooo--------
>>|      Philippe Poulard       |
>>  -----------------------------
>>  http://reflex.gforge.inria.fr/
>>        Have the RefleX !
> 
> 
> 
> 


-- 
Cordialement,

               ///
              (. .)
  --------ooO--(_)--Ooo--------
|      Philippe Poulard       |
  -----------------------------
  http://reflex.gforge.inria.fr/
        Have the RefleX !


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent