Skip to content

Commit 7ba15dc

Browse files
committed
xmlschema-to-guts: handle attribute groups in extension types
1 parent 628b21f commit 7ba15dc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scripts/xmlschema-to-guts

+4
Original file line numberDiff line numberDiff line change
@@ -537,6 +537,10 @@ class Extension(Base):
537537
for attribute in self.attribute_list:
538538
yield attribute.make_property_definition(patches)
539539

540+
if self.attribute_group:
541+
for x in self.attribute_group.make_property_definitions(patches):
542+
yield x
543+
540544
class SimpleContent(Base):
541545
extension = Extension.T(optional=True)
542546
restriction = Restriction.T(optional=True)

0 commit comments

Comments
 (0)