public AttributeIterator createAttributeIterator(Iterator iterator){
return new AttributeIteratorImpl(iterator);
}
public NamespaceIterator createNamespaceIterator(Iterator iterator){
return new NamespaceIteratorImpl(iterator);
}
simplistic implementation of hash function that has constant
time to compute - so it also means diminishing hash quality for long strings
but for XML parsing it should be good enough ...
Returns true if the character is allowed to be a non-initial
character in unscoped names according to the rules of the XML
Namespaces proposed recommendation.
This handles several XML-related tasks that normal java.io Readers
don't support, inluding use of IETF standard encoding names and
automatic detection of most XML encodings.