docs: private void parseEntProperties(final Entity ent, final Node node) throws ResourceXMLParserException {
          if (null == entityProperties.get(node.getName())) {
              throw new ResourceXMLParserException(
                  "Unexpected entity declaration: " + node.getName() + ": " + reportNodeErrorLocation(node));
          }
          final Element node1 = (Element) node;
          //load all element attributes as properties
          for (final Object o : node1.attributes()) {
              final Attribute attr = (Attribute) o;
              ent.properties.setProperty(attr.getName(), attr.getStringValue());
          }
      }