Philip Taylor wrote:
Julian Reschke wrote:
Philip Taylor wrote:
...
XMLLiteral. But the SAX2 ContentHandler interface does not expose comments to the application, so it couldn't implement this in the same ...

It doesn't???

http://www.saxproject.org/apidoc/org/xml/sax/ContentHandler.html says it doesn't. It is only exposed by http://www.saxproject.org/apidoc/org/xml/sax/ext/LexicalHandler.html -- implementations that have that "optional extension" are okay (and I assume that includes most practical implementations) but there's at least a hypothetical concern for "core-only SAX2"-based RDFa implementations, and it would be good to clarify the situation by adding it to the test suite and seeing if implementors are happy with it.

That's what I though: you can get comments, but it's not the default.

I think what's really important is whether comments (and PIs) should trigger XMLLiterals; maybe they shouldn't?

Best regards, Julian


Reply via email to