Hi,
Since Ivanovic have created as nice schema validator. I would like to this change applied to it : - The arguments property of the application tag should not be empty.
See for more : http://www.gp32x.com/board/index.php?/topic/58866-pnd-how-do-i-make-some-fil...
Cheers, seb
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Am 04.03.2011 17:49, schrieb Sébastien Huss:
Hi,
Since Ivanovic have created as nice schema validator. I would like to this change applied to it :
- The arguments property of the application tag should not be empty.
See for more : http://www.gp32x.com/board/index.php?/topic/58866-pnd-how-do-i-make-some-fil...
Okay, continued working on the schema making it more usable and stuff like this. Basic changes this time: * Make the "main" part more readable by defining more types at the top and just use those in the <PXML> part. * Enforce that the first entry in the <titles> and <descriptions> blocks does have lang="en_US" set. * Also accept PXML.xml files that are backwardscompatible to <HF6 by adding <title lang="en_US"> as well as <description lang="en_US"> to the accepted stuff in the <application> block. Only en_US is accepted there though (due to limits in the w3c conform validators). * Enforce entries to be non empty. * Add some missing main categories. * Add more comments.
I also updated pandora-libraries/docs/examples adding the sample files (in updated form!) that I sent in the first post of this thread. I attached a git diff showing the changes. This diff should probably be applicable right off.
Attachments: * PXML_spec_change.diff: complete git diff with all changes. * PXML_schema.xsd: complete schema file (easier to review than the diff) * PXML_schema_plaintext.txt: updated plaintext schema definition
I have *not* attached the example files separately. I will update the wiki once the stuff is committed. Cheers, Nils Kneuper aka Ivanovic
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Am 05.03.2011 18:24, schrieb Nils Kneuper:
Okay, continued working on the schema making it more usable and stuff like this. Basic changes this time:
- Make the "main" part more readable by defining more types at the top and just
use those in the <PXML> part.
- Enforce that the first entry in the <titles> and <descriptions> blocks does
have lang="en_US" set.
- Also accept PXML.xml files that are backwardscompatible to <HF6 by adding
<title lang="en_US"> as well as <description lang="en_US"> to the accepted stuff in the <application> block. Only en_US is accepted there though (due to limits in the w3c conform validators). * Enforce entries to be non empty. * Add some missing main categories. * Add more comments.
I also updated pandora-libraries/docs/examples adding the sample files (in updated form!) that I sent in the first post of this thread. I attached a git diff showing the changes. This diff should probably be applicable right off.
Now pushed to git. Cheers, Nils Kneuper aka Ivanovic