Issue 220 in any23: More tolerance for microdata itemtype without full URL

5 views
Skip to first unread message

an...@googlecode.com

unread,
Jan 5, 2012, 9:25:55 AM1/5/12
to any2...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 220 by jrona...@gmail.com: More tolerance for microdata itemtype
without full URL
http://code.google.com/p/any23/issues/detail?id=220

What steps will reproduce the problem?
1. Convert copy&pasted document http://any23.org/
2. Paste in the attached HTML
3. java.lang.IllegalArgumentException: Invalid type 'CollectionPage', must
be a valid URL.

What is the expected output? What do you see instead?

While not using a full URL for an itemtype may be invliad, any23 should be
tolerant of mistakes by page authors and not die. Possible choices would be
to:

1. Ignore any items with invalid itemtype values
2. Include items with invalid itemtype values and possibly infer the full
URL based on other itemtypes
3. Provide an error page which lets the user know that the document is not
valid microdata (and provide link to http://html5.validator.nu/ as well?)


What version of the product are you using?

Current website at http://any23.org/
Evidently Sindice uses this service as well and so also fails because of
errors like this.


Attachments:
bad_itemtype.html 190 bytes

Reply all
Reply to author
Forward
0 new messages