RE: Style question

I'd agree that view source is useful for html and document-based XML (both of which do not have to deal with globally unique nodes), but it's not relevent to RDF/XML, as the encoding is already broken as far as human readability is concerned. If you want human editable node docs, use XHTML and a style sheet to generate the RDF (or whatever format your chat-bot is working on); don't expect anyone who isn't an expert to be looking at your RDF sources. So it does just come down to your preference- reuse an existing mapping scheme or use your own name mangling to XML-ify the human readable names. If you make it obscure using a hash, then you won't get problems with users complaining they can't put in non-xml tagname characters.

I think your user would rather do view source and get something like:

<... namespaces and schema reference
 <Person name="Becca" eyeColor="brown,green"
   uuid="ed68d480-85b7-11d9-9669-0800200c9a66">
   <owns xmi:type="Car" licensePlate="BEX" color="brown">
     <aquiredThrough xmi:type="Purchase">
	  <supplier href="http://cars.example.org"
          uuid="ed68fb9b-85b7-11d9-9669-0800200c9a66"/>
	  <cost xmi:type="Payment" amount="2000" currency="USD"/>
     </aquiredThrough>
   </owns>
 </Person>

Than RDF/XML; if the people working on mapping XMI2->RDF get it done, then you wont even have to write the transform between the two yourself. (of course, there could be an RDF2 just like there was an XMI2 that removed the noise and half the bandwidth, but there doesn't seem anything like the take-up of RDF that there is of UML in production software to drive it).

Are you talking about instance data or classifier definitions anyway?

Is the user expected to know that because you are re-using dublin core, the name of the person is labelled dc:title because that is what is the title of a machine addressible resource, even though common use for 'title' means Mr, Ms etc? How much education of your users into that sort of nicety do you envision giving prior to them being able to 'view source'?


Pete

********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************

Received on Tuesday, 8 March 2005 13:40:41 UTC