Ryan Mullins wrote:
> 
> This will make validators look in the right place for xml.xsd instead of 
> looking to http://schemas.habariproject.org/xml.xsd which doesn't exist.

Indeed.  Thanks for that.

I've added a little validator script to schemas.hp.o so that you can 
test your own XML:

http://schemas.habariproject.org/pluggable_validator.php

If you try to validate this plugin, you'll get an error:

http://svn.habariproject.org/habari-extras/plugins/twitter/branches/0.7-1.x/twitter.plugin.xml

This is because there is no <authrourl> element.  If you change that in 
the textbox, and move the url as a property of the author element, like 
this:

<author url="http://habariproject.org/";>Habari Community</author>

Then validate the Text (click that radio button), you'll see it validate.

Hopefully, that'll be a useful tool.

Also note that I've updated the xsd file to 1.3, since limiting required 
elements to a specific order was making most plugin XML fail.  The side 
effect is that there's really no way to say that the XML requires a 
<name> element.  There are some technical reasons why this is so -- 
changing them would make other things in the format less desirable.

Owen



--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/habari-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to