vCards in XML

This should cover W3C XML Schema, Relax NG and DTD related problems.
Zearin
Posts: 107
Joined: Mon Jul 30, 2007 11:31 pm
Location: College Park, MD, United States

vCards in XML

Post by Zearin »

There's a W3C "Note" on representing vCards in RDF here:
http://www.w3.org/TR/vcard-rdf

I know how to get Oxygen to associate an XML Schema with an XML document, but I have absolutely no experience with RDF. The document linked above does have an XMLNS mentioned, but this does not seem to provide association for Oxygen to provide autocomplete.

Does anyone know how to accomplish this? If I'm headed the wrong way, does anyone else have experience representing vCards in XML?
-- Zearin
Zearin
Posts: 107
Joined: Mon Jul 30, 2007 11:31 pm
Location: College Park, MD, United States

Bump

Post by Zearin »

Hello? Anyone?

Able to tell me the distinction in purpose between RDF and XSDs?

Have experience with vCards in XML?
-- Zearin
Radu
Posts: 9051
Joined: Fri Jul 09, 2004 5:18 pm

Post by Radu »

Hi Zearin,

Indeed the RDF schema specification can be used to describe the vocabulary of an XML RDF file (like vCard).

But we do not provide support for validation or content completion for the vCard XML RDF file against an RDF schema and I do not think there is a tool available on the market to do this.

There seem to be available on the internet translations from the RDF schema for vCard to DTD or XML schema.
Just find the appropriate one, associate it to the XML RDF vCard file and you will have both content completion and validation support.

If the vCard file already has some data inside you can click the "Learn structure" toolbar button and you will be offered content completion support based on the contents already in the file.

Hope this helps,
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
amix
Posts: 81
Joined: Sat Aug 05, 2006 10:43 pm

Re: vCards in XML

Post by amix »

Wouldn't it be nice to set up a repository or to include these settings for later updates to oXygen XML, at least for the more common XML data formats?
Andreas
Zearin
Posts: 107
Joined: Mon Jul 30, 2007 11:31 pm
Location: College Park, MD, United States

Re: vCards in XML

Post by Zearin »

Yeah, probably two of the most common things modeled in software are
  • people
  • calendars / time
These are often represented as vCards and vCalendar/iCalendar, respectively. Although the official specs are not in XML, they are often stored as RDF/XML for interoperability.

I don't think it's exaggerating to say that these are two of the most potentially reusable data models ever. If Oxygen offered support for this, it would be magnificent!
-- Zearin
Radu
Posts: 9051
Joined: Fri Jul 09, 2004 5:18 pm

Re: vCards in XML

Post by Radu »

Hi Zearin,

How would you see the support in Oxygen for these specs?
We do not support XML validation against RDF and there is probably no engine which does that.
If you have an XSD schema for each XML you would get content completion and validation in Oxygen without any further steps.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply