RdfWriter implementations should be optimized for speed. This implies omitting sanity checks, e.g. validating local names or checking whetehr a given qname prefix has actually been registered.
Since these kinds of checks are quite useful for debugging, they should be available via a decorator: an implementation of RdfWriter that does *just* these checks, and delegates the actual work to another RdfWriter instance.