We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 577c900 commit f6dd160Copy full SHA for f6dd160
1 file changed
odml/tools/odmlparser.py
@@ -102,18 +102,6 @@ def __init__(self, parser='XML'):
102
self.parser = parser
103
self.warnings = []
104
105
- def is_valid_attribute(self, attr, fmt):
106
- if attr in fmt.arguments_keys:
107
- return attr
108
-
109
- if fmt.revmap(attr):
110
111
112
- msg = "Invalid element <%s> inside <%s> tag" % (attr, fmt.__class__.__name__)
113
- print(msg)
114
- self.warnings.append(msg)
115
- return None
116
117
def from_file(self, file, doc_format=None):
118
119
if self.parser == 'XML':
0 commit comments