Re: [vos-d] sample config file in XML

2005-10-27 Thread Reed Hedges

I'm no XML expert, but shouldn't we be able to also eXtend the schema (or dtd),
and do stuff like:

http://interreality.org/xml/xod/base"; 
xmlns:vosapp="http://interreality.org/xml/xod/vosapp/base";
xmlns:codplugin="http://interreality.org/xml/xod/vosapp/cod_plugin";
xmlns:AF="http://interreality.org/xml/xod/vosapp/avatar_factory_plugin";
>
3dworld-blocks.log

core:accept-all,property:accept-all,site:accept-all,log-level-control:accept-all



worlds/blocks.cod


/world
default_avatar.md2
default_avatar.png
-4.0 1 -4.0

...


Then, in the loader, treat elements as child objects (or triggers for special 
non-vobject contexts like plugin loading), and map elements with cdata and 
attributes 
to properties.



> 
>  
> 
>   
>   
> 3dword-blocks.log
>   
> 
>   
>   
> 
> core:accept-all,property:accept-all,site:accept-all,log-level-control:accept-all
>   
> 
>   
>   
> 
>   plugins/.libs/libomniplg_search.so
> 
>   

> 
>   
>   
> 
>   plugins/.libs/libomniplg_logctrl.so
> 
>   
> 
>   
>   
>  name="vosapp:plugin-path">plugins/.libs/libomniplg_cod.so
> worlds/blocks
>   
> 
>   
>   
> 
>   plugins/.libs/libomniplg_avatar_factory.so
> 
> /world
> default_avatar.md2
> default_avatar.png
> 0 1 0 90
> factory.compound:accept-all
> -4 1 -4
> 0 1 0 25
>   
> 
>   
>   
> 
>   plugins/.libs/libomniplg_talkative.so
> 
> /world
> talkative:send-only
> talkative:send-only
>   
>  
> 
> 
> 
> [   Peter Amstutz   ][ [EMAIL PROTECTED] ][ [EMAIL PROTECTED]  ]
> [Lead Programmer][Interreality Project][Virtual Reality for the Internet]
> [ VOS: Next Generation Internet Communication][ http://interreality.org ]
> [ http://interreality.org/~tetron ][ pgpkey:  pgpkeys.mit.edu  18C21DF7 ]
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.1 (GNU/Linux)
> 
> iD8DBQFDW8jaaeHUyhjCHfcRAithAJ0YaNiBcDzxe49b+eRBsRCm3n+ilgCgr3n3
> jsXTfCMvF/w48AhYYtBr6kk=
> =cTx7
> -END PGP SIGNATURE-
> 
> 
> ___
> vos-d mailing list
> vos-d@interreality.org
> http://www.interreality.org/cgi-bin/mailman/listinfo/vos-d


___
vos-d mailing list
vos-d@interreality.org
http://www.interreality.org/cgi-bin/mailman/listinfo/vos-d


Re: [vos-d] sample config file in XML

2005-10-25 Thread Reed Hedges
On Sun, Oct 23, 2005 at 01:31:03PM -0400, Peter Amstutz wrote:
> 
>  

One issue with using this syntax for what are ostensibly just "configuration"
files is that using terms like site and vobject here might confuse users who
know little or nothing about how VOS works.

> 
>   
>   

What does sws mean?

>   
>   
>  name="vosapp:plugin-path">plugins/.libs/libomniplg_cod.so
> worlds/blocks
>   

Again, XML forces you to be explicit about naming these element types, so to an
outsider it seems strange to have a child XML element named "child" (isn't that
redundant?) with a magic type.

Reed



___
vos-d mailing list
vos-d@interreality.org
http://www.interreality.org/cgi-bin/mailman/listinfo/vos-d


[vos-d] sample config file in XML

2005-10-23 Thread Peter Amstutz

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Here's a sample translation of the 3dworld.conf Omnivos file, using the 
XML-COD file syntax I'm currently considering:







 

  
  
3dword-blocks.log
  

  
  

core:accept-all,property:accept-all,site:accept-all,log-level-control:accept-all
  

  
  

  plugins/.libs/libomniplg_search.so

  

  
  

  plugins/.libs/libomniplg_logctrl.so

  

  
  
name="vosapp:plugin-path">plugins/.libs/libomniplg_cod.so

worlds/blocks
  

  
  

  plugins/.libs/libomniplg_avatar_factory.so

/world
default_avatar.md2
default_avatar.png
0 1 0 90
factory.compound:accept-all
-4 1 -4
0 1 0 25
  

  
  

  plugins/.libs/libomniplg_talkative.so

/world
talkative:send-only
talkative:send-only
  
 



[   Peter Amstutz   ][ [EMAIL PROTECTED] ][ [EMAIL PROTECTED]  ]
[Lead Programmer][Interreality Project][Virtual Reality for the Internet]
[ VOS: Next Generation Internet Communication][ http://interreality.org ]
[ http://interreality.org/~tetron ][ pgpkey:  pgpkeys.mit.edu  18C21DF7 ]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDW8jaaeHUyhjCHfcRAithAJ0YaNiBcDzxe49b+eRBsRCm3n+ilgCgr3n3
jsXTfCMvF/w48AhYYtBr6kk=
=cTx7
-END PGP SIGNATURE-


___
vos-d mailing list
vos-d@interreality.org
http://www.interreality.org/cgi-bin/mailman/listinfo/vos-d