dotnet / dotnet/Open-XML-SDK

ChartExtension and ChartExtensionList are not implemented

Open
#1,877 0 comments 0 reactions 0 assignees View on GitHub
breaking-change bug
Dominant language
C#
Stars
4.6k
Forks
605
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
The feature extension and extension list ChartExtension and ChartExtensionList are not implemented.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**To Reproduce**
Validate a file that has a valid c:ext and c:extList children of c:chart

**Observed behavior**
The elements are incorrectly flagged as invalid children with the following errors:
| | |
|------|-------|
**Id** | Sch_UndeclaredAttribute
**Description** | The 'uri' attribute is not declared.
**XPath** | /c:chartSpace[1]/c:chart[1]/c:extLst[1]/c:ext[1]
**Part URI** | /ppt/charts/chart1.xml
**NamespacesDefinitions** | undefined

| | |
|----|---|
**Id** | Sch_InvalidElementContentExpectingComplex
**Description** | The element has invalid child element 'http://schemas.microsoft.com/office/drawing/2017/03/chart:dataDisplayOptions16'. List of possible elements expected: .
**XPath** | /c:chartSpace[1]/c:chart[1]/c:extLst[1]/c:ext[1]
**Part URI** | /ppt/charts/chart1.xml
**NamespacesDefinitions** | undefined

**Expected behavior**
I expect the Validator report that the elements are valid.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.