Re: [vos-d] sample VOS XML
On Thu, Oct 27, 2005 at 09:48:38AM -0400, Peter Amstutz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Wed, 26 Oct 2005, Reed Hedges wrote: > > >On Wed, Oct 26, 2005 at 10:02:00AM -0400, Peter Amstutz wrote: > >>As I said, it's not ideal, but the advantages in potential > >>compatability/familiarity outweigh stylistic issues. > > > >Perhaps. I think it might be possible to come up with less-verbose, > >less-vos-idiomatic, more-obvious-to-casual-users XML with a little care. > > Well, I'm already engaged in coding up support the format that I proposed > as "XOD" (XML Object Description). If you have any suggestions, now is > the time to bring them up. I'll have to look at the code you just comitted. > Oh, this is a great idea! Although, how do you delimit where you want > HTML/XML embedded in a property, and when you want it represented in the > structure? Meaning, you can dump the entire HTML into a single property, > or you can expand out the entire DOM and make a Vobject for every single > DOM node, and any combination of objects/properties in between. How do > you specify what parts get put in properties? Only CDATA and attribute data gets put in properties. All XML elements become "xml:" vobjects. (I think I made a recent change to HTTPserver extension to make this work). Look at vip://interreality.org:4232/news-rss.rdf for an example Reed ___ vos-d mailing list vos-d@interreality.org http://www.interreality.org/cgi-bin/mailman/listinfo/vos-d
Re: [vos-d] sample VOS XML
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 26 Oct 2005, Reed Hedges wrote: On Wed, Oct 26, 2005 at 10:02:00AM -0400, Peter Amstutz wrote: As I said, it's not ideal, but the advantages in potential compatability/familiarity outweigh stylistic issues. Perhaps. I think it might be possible to come up with less-verbose, less-vos-idiomatic, more-obvious-to-casual-users XML with a little care. Well, I'm already engaged in coding up support the format that I proposed as "XOD" (XML Object Description). If you have any suggestions, now is the time to bring them up. Oh? What does this format look like? And what kind of problems with SWIG are you having? What is the status of the Python bindings, anyway? It takes any XML and makes hypervos objects out of it. The error is that when I add the %template directive for the password authentication object and %include it, swig crashes. Oh, this is a great idea! Although, how do you delimit where you want HTML/XML embedded in a property, and when you want it represented in the structure? Meaning, you can dump the entire HTML into a single property, or you can expand out the entire DOM and make a Vobject for every single DOM node, and any combination of objects/properties in between. How do you specify what parts get put in properties? Yeah I was kidding--- it seems familiar from HTML but it means nothing here and will end up being more confusing unless it's actually used in exactly the same way as html... Ok, well I changed it from "href" to "ref". Not set in stone yet, of course. [ 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) iD8DBQFDYNq6aeHUyhjCHfcRAvHrAJ99vSeU5HWWRUCFKVnii+2FCTKDpQCfRsAw FcdvDyHWLObleZDnE9TqjfQ= =84s8 -END PGP SIGNATURE- ___ vos-d mailing list vos-d@interreality.org http://www.interreality.org/cgi-bin/mailman/listinfo/vos-d
Re: [vos-d] sample VOS XML
On Wed, Oct 26, 2005 at 10:02:00AM -0400, Peter Amstutz wrote: > As I said, it's not ideal, but the advantages in potential > compatability/familiarity outweigh stylistic issues. Perhaps. I think it might be possible to come up with less-verbose, less-vos-idiomatic, more-obvious-to-casual-users XML with a little care. > Oh? What does this format look like? And what kind of problems with SWIG > are you having? What is the status of the Python bindings, anyway? It takes any XML and makes hypervos objects out of it. The error is that when I add the %template directive for the password authentication object and %include it, swig crashes. > >... > >What the hell does "href" mean? ;) > > You know, like > > But I might change it. Yeah I was kidding--- it seems familiar from HTML but it means nothing here and will end up being more confusing unless it's actually used in e xactly the same way as html... reed ___ vos-d mailing list vos-d@interreality.org http://www.interreality.org/cgi-bin/mailman/listinfo/vos-d
Re: [vos-d] sample VOS XML
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 25 Oct 2005, Reed Hedges wrote: I'm also inclined to avoid XML a bit, though it will be attractive to people who want to convert from other XML formats, and simply for buzzword compliance. As I said, it's not ideal, but the advantages in potential compatability/familiarity outweigh stylistic issues. Also, I have a python script that creates vobjcets from XML and it was pretty easy to write, I haven't added it to CVS yet since it can't deal with authorization login yet due to some weird problem with swig. Oh? What does this format look like? And what kind of problems with SWIG are you having? What is the status of the Python bindings, anyway? ... What the hell does "href" mean? ;) You know, like But I might change it. [ 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) iD8DBQFDX4xdaeHUyhjCHfcRArwRAJ9stVpqRV37hxAiBACx74brjjd3+ACeNnHU 6lGOHD48tw9zjhqY2+glSXE= =0viY -END PGP SIGNATURE- ___ vos-d mailing list vos-d@interreality.org http://www.interreality.org/cgi-bin/mailman/listinfo/vos-d
Re: [vos-d] sample VOS XML
I'm also inclined to avoid XML a bit, though it will be attractive to people who want to convert from other XML formats, and simply for buzzword compliance. Also, I have a python script that creates vobjcets from XML and it was pretty easy to write, I haven't added it to CVS yet since it can't deal with authorization login yet due to some weird problem with swig. ... What the hell does "href" mean? ;) Reed ___ vos-d mailing list vos-d@interreality.org http://www.interreality.org/cgi-bin/mailman/listinfo/vos-d