Bug 66485 - [PATCH] Add xsd schema for drawing/2012/chart
Summary: [PATCH] Add xsd schema for drawing/2012/chart
Status: RESOLVED FIXED
Alias: None
Product: POI
Classification: Unclassified
Component: XDDF (show other bugs)
Version: unspecified
Hardware: PC Linux
: P2 enhancement (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-21 09:28 UTC by Wim Champagne
Modified: 2023-03-01 23:44 UTC (History)
0 users



Attachments
Addd the drawing/2012/chart xsd and generate the classes (9.10 KB, patch)
2023-02-21 09:29 UTC, Wim Champagne
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Wim Champagne 2023-02-21 09:28:41 UTC
This patch will add the xsd schema for drawing/2012/chart and generate the classes.
Comment 1 Wim Champagne 2023-02-21 09:29:33 UTC
Created attachment 38500 [details]
Addd the drawing/2012/chart xsd and generate the classes
Comment 2 PJ Fanning 2023-02-21 09:42:06 UTC
Could you provide a URL for that xsd? Just so we can verify it independently.

Why c15 as a prefix?
Comment 3 Wim Champagne 2023-02-21 09:49:51 UTC
I got the schema from https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/1c52d959-25d3-4556-9381-cc86c1221029

Only line 2 and 3 are modified, so it used the 2006 xsd files that are present in the POI project.


The "c15" prefix is coming from Powerpoint.  If you save a presentation that something that uses from this extension to the spec, it will prefix it with "c15".
Comment 4 PJ Fanning 2023-02-21 13:12:14 UTC
added with r1907789
Comment 5 PJ Fanning 2023-02-21 13:15:27 UTC
These classes will not end up in poi-ooxml-lite because no tests use the classes.

Users who want to use poi-ooxml-full and code at the level of XMLBeans generated classes may benefit - but coding at this level, is quite trial and error.