Validation errors on shared notes


Hello Simplenote,

I'm enjoying your service. And I'm thinking about the possibilities of integration into the workflow of our open source community. Symphony CMS is an XML, XSLT and PHP-based content management system that allows easy integration with XML APIs. I have already submitted a request for access to the API, but meanwhile I have been exploring other available options.

http://symphony-cms.com/discuss/thread/51819/1/#position-20

I am just trying out the sharing feature and ran your code through the W3C validator to see whether shared pages can be imported directly into Symphony.

For the most part, the code is very clean, but there were three validation errors:

http://validator.w3.org/check?uri=https%3A%2F%2Fsimple-note.appspot.com%2Fshare%2Fe5919&charset=%28detect+automatically%29&doctype=Inline&group=0

Line 17, Column 6: Element li not allowed as child of element div in this context. (Suppressing further errors from this subtree.)
<LI><A href="/create/">Create an account</A></LI>

Line 49, Column 7: Premature end of comment. Use --> to end a comment properly.
<!-->

Line 30, Column 45: The for attribute of the label element must refer to a form control.
<LABEL id="versionlabel" for="versions">No versions</LABEL>

For easy integration with Symphony, I believe the only showstopper for a valid XML document would be the improper closing of the opening comment tag on line 49 of this shared note:

https://simple-note.appspot.com/share/e5919

Would you mind fixing this up. And while you're at it, it wouldn't hurt to clean up the other two validation errors.

Plus, the link element needs to be self-closing to be valid XML:

<link href="/css/notecomb-min.css" media="screen" rel="stylesheet" type="text/css"/>

Anyway, thanks for this great application. It's fun to have my iPad, MacBook Pro and simplenoteapp.com, Notational Velocity and JustNotes synced. Finally an application that solves my longstanding issue with applications that make me duplicate my work.

Stephen Bau
Lead Designer
Domain7 Solutions Inc

Leader
Advocacy Working Group
Symphony CMS
Report abuse