Open-XML-SDK icon indicating copy to clipboard operation
Open-XML-SDK copied to clipboard

DocumentFormat.OpenXml.Linq namespace-related classes have missing XName fields.

Open ThomasBarnekow opened this issue 1 year ago • 11 comments

Describe the bug The generated classes in the DocumentFormat.OpenXml.Linq namespace (e.g., W) are missing certain XName fields that were still present in previous versions of the SDK (e.g., 2.19.0). For example, the following fields are missing (among possibly others that I did not see):

  • W.sdtPr
  • W.sdtEndPr
  • W.tag

To Reproduce To reproduce, just try to reference any of the above in your code.

Observed behavior XName fields are suddenly no longer generated.

Expected behavior All relevant fields should be generated.

Desktop (please complete the following information):

  • OS: any
  • Office version: any
  • .NET Target: any
  • DocumentFormat.OpenXml Version: 3.1.1

Additional context 3.1.1 is the first release after 3.x that I am trying. I previously used 2.19.0 and possibly 2.20.0. Thus, I don't know exactly when the issue first appeared.

Edit November 22, 2024: It turns out the SmartTag-related fields were not part of 2.19.0:

  • W.smartTag
  • W.smartTagPr

ThomasBarnekow avatar Oct 26 '24 20:10 ThomasBarnekow