[Dwai-developers] FIxed XSD and 1st XML
Status: Beta
Brought to you by:
lucrus
|
From: Lucio C. <lu...@su...> - 2006-05-18 22:19:46
|
I'm here to proudly present the first working version of the XSD and the first minimal valid DFX (short for Dwai Format XML). The last XSD I've presented had at least two problems, both in the debPackageVersionRelationshipType definition. The df.xsd attachment is the fixed version (netbeans 5 is able to understand it). The attached template.xml is the minimum valid DFX, validated by netbeans 5 against df.xsd. Please note that the minimum valid DFX requires only the package name and version, and it can be useful only when the DEW clearly warns the user that the DFX file won't touch his sources list nor his preferences. Assuming that the user already has sources list and/or preferences correctly set to install the named package, this minimal DFX can be used to launch apt by means of a single click on the web page. The only practical application I see for such a DFX is when it is used in a official distro website, such as www.debian.org. Please take a look at both files; the next step is to manually produce a number of real world DFXs, so that I have some material to build a comprehensive template for my bash dewmaster script. If you want to write some DFX you are welcome! Cheers, Lucio. |