private void commonElement(QName element, XMLAttributes attrs, boolean isEmpty) {
String qName = element.rawname;
String uri = element.uri;
String localName = element.localpart;
ReaderNode readerNode = ReaderNode.createElementNode(ruby, uri, localName, qName, attrs, depth, langStack, xmlBaseStack);
if (!elementStack.isEmpty()) {
ElementNode parent = elementStack.peek();
parent.hasChildren = true;
}
nodeQueue.add(readerNode);