List<Tag> tags = new ArrayList<Tag>();
if (!isValid(representation)) {
throw new ParseException("invalid representation");
}
try {
NodeSet nodes = new DomRepresentation(representation)
.getNodes("/RDF/TagList/item");
for (Node node : nodes) {
tags.add(getTag(node));
}
} catch (Exception e) {