We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f51613f + 414c66b commit bd1f9e5Copy full SHA for bd1f9e5
ds3-autogen-net/src/main/resources/tmpls/net/parsers/typeset/primitive_parsers.ftl
@@ -244,8 +244,8 @@
244
string encapsulatingXmlTag,
245
Func<XElement, TResult> parser)
246
{
247
- var encapsulatingElement = element.Element(encapsulatingXmlTag);
248
- if (null == encapsulatingElement || encapsulatingElement.IsEmpty)
+ var encapsulatingElement = element.Elements(encapsulatingXmlTag);
+ if (null == encapsulatingElement || encapsulatingElement.Count() == 0)
249
250
return Enumerable.Empty<TResult>();
251
}
0 commit comments