carraMeL updated to v. 1001 2005-05-18 - By nospam
Back Bonjour,
I have updated carraMeL to version 1.001
This version brings the following improvements : - decarraMeLize now works with XML files that includes empty lines ; - decarraMeLize now outputs fully indented .car syntax (and indentation is preserved when the browser output is copied-pasted in a text editor) ; - carraMeLize now works with indented .car files.
I also updated the test files with Carrara 1.0 .car/.xml files instead of the previous (apparently buggy) Carrara 3.0 files. This will allow anyone to test the output whatever their Carrara version (.car files are supposed to be upward compatibles).
JJ> P.S. Unfortunately, I can't open the .car file at your site JJ> with Carrara 3.0. Is it meant to be JJ> openable?
Jansen, I have updated the script and uploaded a Carrara 1.0 file as test file. This should allow anybody to test the script, whatever their version. Output is meant to be openable, of course !
(Potential) bugs apart, you should be able to carraMeLize (XMLize) a .car file, then take the xml output and decarraMeLize it : it does return you a string wich is exactly the same as the first input .car file.
(Potential) bugs apart, it is absolutly conservative : carraMeLize and decarraMeLize are absolutly symmetric, and lossless : no data is lost neither way. In algebra : If A a .car file, A -> carraMeLize -> B -> decarraMeLize -> C, then C = A
There are two ways to use carraMeL : - You an either download the source, embed it into a php file and run it on a php server of your own (for example on your local machine) ; - Or you can use my web page as a web service : the script does accept an url as input. For example, you can upload a .car file of you own somewhere on a web server and point to it using "http://www.yoursite.tld/yourcarrarrafile.car" as input on my website. The only caution is that the remote .car or .xml file chmod must be set to "readable" by "Others" (or whatever your remote server uses for files rights managment).
My carraMeL web page does fully respect your privacy : there is no cookies, and there is no conservation of your input files on my server. The input files are discharged from the server memory at the end of the page output. The only trace I may receive is in the server log files but true, I have many other intersting things to do in life than trying to spy the files that the script user will carraMeLize or decarraMeLize
JJ> I wonder if there is any real financial incentive for Eovia to do this themselves? They JJ> already have libraries to parse their own file format, why JJ> switch to a new format (XML)? It JJ> could certainly lead to some VERY interesting helper applications and plugins.
I cannot tell the reason why Eovia does not seem interested by an xml file format. XML has been there for six years now and they never jumped into the wagon. The decision is their. I open the discussion during the last chat with Eovia and Charles didn't say "never", he just answered that it may be too much of work for the benefit.
Now that I have proved that it can be done very quickly and easily (carraMeL was developed by a single man in 4-5 hours), maybe Eovia will change its mind. I also found out that the xml files are not that bigger than their .car equivalent, and I know it was also one of their concern.
But I beleive that people at Eovia are not primarily XML people, they are computer graphics people. I suppose they don't envision all the possible benefits as you and I do. I am not saying that as a negative critic, just as a possible fact. Eovia is not Altova (the creator of XMLSpy). Their focus is not in XML, but in 3D. They may just not see the full benefit.
Maybe if enough people are requesting it ?
I received some congratulations off-list. Maybe these people should request Eovia directly.
I had no intention to "force" Eovia in anyway in writting this plug-in. The decision is totally their, they may have higher priorities.
The best argument in favor of XML for Eovia would certainly be that it would open the plu-gin process to many more potential developers that just don't want to jump into the C++ SDK wagon right now. Some people have nice ideas but are just good at Java or Python ...
The parsing algorithm I designed is generic and can also perfectly be translated in other languages. So what I did can be done by plug-ins developpers themselves. I mean, even if Eovia refuses to translate its native format to an XML syntax, the "external plug-ins", webservices concept I have shwon with the carraMeL example still remains possible, the only differece being that each developper will have to embed an XML/deXML-ization routine in each plug-in/webservice, instead of Eovia doing once for all.
-- Cordialement / Sincerly yours, Fran?ois Flocons de P?ques Infographie 2D et 3D - Cr��ation web - Services informatiques www.floconsdepaques.com
:= ,H: @/ .. -HH$. -===-, ;@(protected)= .=::=-,, /@(protected)$, .::::=-, $= .:;::::=, .XHHXX$:. -;;;;:::-, =HHHX$$/;;- -+/;;;:::=- =HHXX$/;:==, :+//;:::==-. . ,HHX$/;:=---, :///;;::=-,, ... +@(protected)$/;::=---,, ,///;;::=-,. ,, .$H$/::::=-,--, =/;;;::=-,, .,,. ,XH$/:==:=---==,..-/;;:::-,---,..,, ,$/;:====-- --=:--;/;:::;/==,=-,-, ./+;:=--=---,-,=;:=:/;//+$;=,/+,.,. =//:=-- --,---=;;,-;X/-:;-=:;;=, .:/;:=====----=;; .=$;::--;/X#+ . ,:;::==::==--:;;:+//+$;%#X ./%/:==:;;::::::::=++:+H$X/. :$+$%+/++//;;;;/;:/X;$+/%H$-:+; %/;/+++++/+++++/;////M$/X#/X###@(protected) ,$;::;//////+++/::;/@@(protected)@@@@(protected)$H##= :X;:=-=:;;//;;:====::/+XHM@@@; ,. $/;:=-- ---- --,,-- ---=+@#M. /+ -X$+/;::=-,,,,,--,,,,---==---+#X /, ;X;:=---,,,,,,,,,,,-,---==-;#/ ,: $/;:=--==-,,,,,.,,,-,,--==-#- , ,X$+/:====-- ----,,,,,-- ----:#X ..=;////;:,. ,X$+;::==-- ---=-- --,-- --=;@#+ .;@(protected)@@(protected):. +$+;:=========--========:/X###+ ,+H@@@@@@@@@@@@(protected)@(protected)@(protected):- :+/::====::====::::::;;/@##M// ./H@@@@@@@@@@@(protected)@(protected)@(protected)@@(protected)+; -//;::::===:;;//;;;::=.##X.= -XM@@@@@@(protected)@@(protected)@@(protected)@@(protected)#@/ ,=:;;///++///;:=-. :##= =H@@(protected)@@@@(protected)@(protected)@@(protected)@@@@(protected)#@/. .,--,,. :##- :MM@(protected)@@@(protected)@@(protected)@@@(protected)##$. :##- ,HM@(protected)@@(protected)@@(protected)@@(protected)#M: :#M- +@@@@@@(protected)@@@@@@(protected)@@(protected)#H- =MM-.XHH@(protected)@@(protected)@@@@@@(protected) -@@(protected)@@(protected)@@; -HH-=$$$$XXXXXX$$$XHXXXXHX= ,$X=-+%$%%%$X$$$$X, .$=,/+++++/+++%%++$/ /+=,:;;;/;;;/++/////: :+:.:::::::;;/;;;;//- -;: =:--====;::::;;, ,==.,---,--:====::. .==..-,,,,-=---== -=, -,.,-=-,,-- ,,, ,,..,-,,-, .,, .. .,.,,. ,, . ...,. ... . ... .
Pi��ces jointes / Post-Joint : <none>.
Welcome Yahoo Members!
http://www.eovia.com Yahoo! Groups Links
<*> To visit your group on the web, go to: http://groups.yahoo.com/group/Carrara/
<*> To unsubscribe from this group, send an email to: Carrara-unsubscribe@(protected)
<*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
|
|