Currently some of the the W3C XML schema files for part 4 make use of the xsd:import functionality to import additional XSD files that all combine to define one namespace. There are multiple import statements pointing to the different locations for each XSD file. There is some ambiguity as to whether or not this method is appropriate, and many XML parsers do not support it. As a result, many of the schema files from part 4 will not work in these parsers.
Modify the schemas that use this inclusion feature in order to enable the OpenXML schemas to be handled at least by Xerces-J and MSV. It is possible to modify the OpenXML schemas without impacting the document instances validated by the current version of the OpenXML schemas.
Schemas, Part 4, Annex A
te
Proposed Disposition of DIS 29500 Comment ECMA-0013 (Modified: 2007-11-15) Agreed. Currently some of the W3C XML schema files for part 4 make use of the xsd:import functionality to import additional XSD files that all combine to define one namespace. There are multiple import statements pointing to the different locations for each XSD file. There is some ambiguity as to whether or not this method is appropriate, and many XML parsers do not support it. As a result, many of the schema files from part 4 will not work in these parsers. We will modify the schemas that use this inclusion feature in order to enable this standard’s XML schema files to be handled by Xerces-J and MSV, at least. It is possible to modify the schema files without impacting the document instances validated by the current version of the schemas. The following schema files will be combined to form one schema file, dml-main.xsd: dml-audioVideo.xsd dml-baseStylesheet.xsd dml-baseTypes.xsd dml-documentProperties.xsd dml-graphicalObject.xsd dml-graphicalObjectAnimation.xsd dml-graphicalObjectFormat.xsd dml-gvml.xsd dml-shape3DCamera.xsd dml-shape3DLighting.xsd dml-shape3DScene.xsd dml-shape3DScenePlane.xsd dml-shape3DStyles.xsd dml-shapeEffects.xsd dml-shapeGeometry.xsd dml-shapeLineProperties.xsd dml-shapeMiscellaneous.xsd dml-shapeStyle.xsd dml-styleDefaults.xsd dml-table.xsd dml-tableStyle.xsd dml-text.xsd dml-textBullet.xsd dml-textCharacter.xsd dml-textParagraph.xsd dml-textRun.xsd The following schema files will be combined to form one schema file, dml-diagram.xsd: dml-diagramColorTransform.xsd dml-diagramDataModel.xsd dml-diagramDefinition.xsd dml-diagramElementPropertySet.xsd dml-diagramLayoutVariables.xsd dml-diagramStyleDefinition.xsd dml-diagramTypes.xsd The following schema files will be combined to form one schema file, pml.xsd file: pml-animationInfo.xsd pml-baseTypes.xsd pml-comments.xsd pml-embedding.xsd pml-presentation.xsd pml-presentationProperties.xsd pml-slide.xsd pml-slideSynchronizationData.xsd pml-userDefinedTags.xsd pml-viewProperties.xsd The following schema files will be combined to form one schema file, sml.xsd: sml-autoFilter.xsd sml-baseTypes.xsd sml-calculationChain.xsd sml-comments.xsd sml-customXmlMappings.xsd sml-externalConnection.xsd sml-pivotTable.xsd sml-pivotTableshared.xsd sml-queryTable.xsd sml-sharedStringTable.xsd sml-sharedWorkbookRevisions.xsd sml-sharedWorkbookUserNames.xsd sml-sheet.xsd sml-sheetMetadata.xsd sml-singleCellTable.xsd sml-styles.xsd sml-supplementaryWorkbooks.xsd sml-table.xsd sml-volatibleDependencies.xsd sml-workbook.xsd In addition to this, Part 4, Annex F will be changed, as follows: This clause is informative. This clause provides the location of each part’s root element (as identified in ยง1) within the set of normative XML Schema files provided in Annex A, based on both its part name and its XML Schema: F.1 Grouped by Part Name Part Schema Element Name DrawingML Chart dml-chart.xsd chartSpace DrawingML Chart Drawing dml-chart.xsd userShapes DrawingML Diagram Colors dml- diagram diagramColorTransform .xsd colorsDef DrawingML Diagram Data dml- diagram diagramDefinition .xsd dataModel DrawingML Diagram Layout Definition dml- diagram diagramDefinition .xsd layoutDef DrawingML Diagram Style dml- diagram diagramStyleDefinition .xsd styleDef DrawingML Table Styles dml- tableStyle main .xsd tblStyleLst DrawingML Theme dml- main stylesheet .xsd theme DrawingML Theme Override dml- main stylesheet .xsd themeOverride Part Schema Element Name PresentationML Comment Authors pml -comments .xsd cmAuthorLst PresentationML Comments pml -comments .xsd cmLst PresentationML Handout Master pml -slide .xsd handoutMaster PresentationML Notes Master pml -slide .xsd notesMaster PresentationML Notes Slide pml -slide .xsd notes PresentationML Presentation pml -presentation .xsd presentation Part Schema Element Name PresentationML Presentation Properties pml -presentationProperties .xsd presentationPr PresentationML Slide pml -slide .xsd sld PresentationML Slide Layout pml -slide .xsd sldLayout PresentationML Slide Master pml -slide .xsd sldMaster PresentationML Slide Synchronization Data pml -slideSynchronizationData .xsd sldSyncPr PresentationML User-Defined Tags pml -userDefinedTags .xsd tagLst PresentationML View Properties pml -viewProperties .xsd viewPr Part Schema Element Shared Additional Characteristics shared-additionalCharacteristics.xsd additionalCharacteristics Shared Extended File Properties shared-documentPropertiesExtended.xsd Properties Shared Bibliography shared-bibliography.xsd Sources Shared Custom File Properties shared-documentPropertiesCustom.xsd Properties Shared Custom XML Data Storage Properties shared-customXmlDataProperties.xsd datastoreItem Part Schema Element Name SpreadsheetML Calculation Chain sml -calculationChain .xsd calcChain SpreadsheetML Chartsheet sml -sheet .xsd chartsheet SpreadsheetML Comments sml -comments .xsd comments SpreadsheetML Connections sml -externalConnections .xsd connections SpreadsheetML Custom XML Mappings sml -customXmlMappings .xsd MapInfo SpreadsheetML Dialogsheet sml -sheet .xsd dialogsheet SpreadsheetML Drawing dml-spreadsheetDrawing.xsd wsDr SpreadsheetML External Workbook References sml -supplementaryWorkbooks .xsd externalLink SpreadsheetML Metadata sml -sheetMetadata .xsd metadata SpreadsheetML Pivot Table sml -pivotTable .xsd pivotTableDefiniti on SpreadsheetML Pivot Table Cache Definition sml -pivotTable .xsd pivotCacheDefinition Part Schema Element Name SpreadsheetML Pivot Table Cache Records sml -pivotTable .xsd pivotCacheRecords SpreadsheetML Query Table sml -queryTable .xsd queryTable SpreadsheetML Shared String Table sml -sharedStringTable .xsd sst SpreadsheetML Shared Workbook Revision Headers sml -sharedWorkbookRevisions .xsd header SpreadsheetML Shared Workbook Revision Log sml -sharedWorkbookRevisions .xsd revisions SpreadsheetML Shared Workbook User Data sml - sharedWorkbookUserNames .xsd users SpreadsheetML Single Cell Table Definitions sml -singleCellTable .xsd singleXmlCells SpreadsheetML Styles sml -styles .xsd styleSheet SpreadsheetML Table Definitions sml -table .xsd table SpreadsheetML Volatile Dependencies sml -volatileDependencies .xsd volTypes SpreadsheetML Workbook sml -workbook .xsd workbook SpreadsheetML Worksheet sml -sheet .xsd worksheet Part Schema Element Name WordprocessingML Comments wml.xsd comments WordprocessingML Document Settings wml.xsd settings WordprocessingML Endnotes wml.xsd endnotes WordprocessingML Font Table wml.xsd fonts WordprocessingML Footer wml.xsd ftr WordprocessingML Footnotes wml.xsd footnotes WordprocessingML Glossary Document wml.xsd glossaryDocument WordprocessingML Header wml.xsd hdr WordprocessingML Mail Merge Recipient Data wml.xsd recipientData WordprocessingML Main Document wml.xsd document WordprocessingML Numbering Definitions wml.xsd numbering WordprocessingML Style Definitions wml.xsd styles WordprocessingML Web Settings wml.xsd webSettings F.1 Grouped by Schema Name Schema Part Name Element dml-chart.xsd DrawingML Chart chartSpace DrawingML Chart Drawing userShapes dml- diagramColorTransform diagram .xsd DrawingML Diagram Colors colorsDef dml- diagram diagramDefinition .xsd DrawingML Diagram Data dataModel DrawingML Diagram Layout Definition layoutDef dml- diagram diagramStyleDefinition .xsd DrawingML Diagram Style styleDef dml-spreadsheetDrawing.xsd SpreadsheetML Drawing wsDr dml- stylesheet main .xsd DrawingML Theme theme DrawingML Theme Override themeOverride dml- main tableStyle .xsd DrawingML Table Styles tblStyleLst Schema Part Name Element pml -comments .xsd pml-presentation.xsd pml-presentationProperties.xsd pml-slide.xsd pml-slideSynchronizationData.xsd pml-userDefinedTags.xsd pml-viewProperties.xsd PresentationML Comment Authors cmAuthorLst PresentationML Comments cmLst PresentationML Presentation presentation PresentationML Presentation Properties presentationPr PresentationML Handout Master handoutMaster PresentationML Notes Master notesMaster PresentationML Notes Slide notes PresentationML Slide sld PresentationML Slide Layout sldLayout PresentationML Slide Master sldMaster PresentationML Slide Synchronization Data sldSyncPr PresentationML User-Defined Tags tagLst PresentationML View Properties viewPr Schema Part Name Element shared-additionalCharacteristics.xsd Shared Additional Characteristics additionalChara cteristics shared-bibliography.xsd Shared Bibliography Sources Schema Part Name Element shared-customXmlDataProperties.xsd Shared Custom XML Data Storage Properties datastoreItem shared-documentPropertiesCustom.xsd Shared Custom File Properties Properties shared-documentPropertiesExtended.xsd Shared Application-Defined File Properties Properties Schema Part Name Element sml -calculationChain .xsd sml -comments .xsd sml-customXmlMappings.xsd sml-externalConnections.xsd sml-pivotTable.xsd sml-queryTable.xsd sml-sharedStringTable.xsd sml-sharedWorkbookRevisions.xsd sml-sharedWorkbookUserNames.xsd sml-sheet.xsd sml-sheetMetadata.xsd sml-singleCellTable.xsd sml-styles.xsd sml-supplementaryWorkbooks.xsd sml-table.xsd sml-volatileDependencies.xsd sml-workbook.xsd SpreadsheetML Calculation Chain calcChain SpreadsheetML Comments comments SpreadsheetML Custom XML Mappings MapInfo SpreadsheetML Connections connections SpreadsheetML Pivot Table pivotTableDefiniti on SpreadsheetML Pivot Table Cache Definition pivotCacheDefiniti on SpreadsheetML Pivot Table Cache Records pivotCacheRecord s SpreadsheetML Query Table queryTable SpreadsheetML Shared String Table sst SpreadsheetML Shared Workbook Revision Headers header SpreadsheetML Shared Workbook Revision Log revisions SpreadsheetML Shared Workbook User Data users SpreadsheetML Chartsheet chartsheet SpreadsheetML Dialogsheet dialogsheet SpreadsheetML Worksheet worksheet SpreadsheetML Metadata metadata SpreadsheetML Single Cell Table Definitions singleXmlCells SpreadsheetML Styles styleSheet SpreadsheetML External Workbook References externalLink SpreadsheetML Table Definitions table SpreadsheetML Volatile Dependencies volTypes Schema Part Name Element SpreadsheetML Workbook workbook Schema Part Name Element wml.xsd WordprocessingML Comments comments WordprocessingML Document Settings settings WordprocessingML Endnotes endnotes WordprocessingML Font Table fonts WordprocessingML Footer ftr WordprocessingML Footnotes footnotes WordprocessingML Glossary Document glossaryDocument WordprocessingML Header hdr WordprocessingML Mail Merge Recipient Data recipientData WordprocessingML Main Document document WordprocessingML Numbering Definitions numbering WordprocessingML Style Definitions styles WordprocessingML Web Settings webSettings End of informative text. Similar Comments: GB-0621 , JP-0002

Fluff, Dupe of JP 02
Making nice to Japen by Ecma ??
A criterium should be that XML conforms to its standard and not that XML cannot be handled by a certain validator.
Its wrong to be dismissive of the main Java XML parser if it can’t handle XSD; it is either a sign of inadequate XSD specifications (there are differences between MSXML and Xerces about whether ##local is in the ##other xmlns for example), or it is inadequate testing.
There is no reason why the dev team could not have attempted to feed their documents and schemas through a copy of Xerces. This is called ‘test driven standards’ and we need to see more of these.
A failure by the standards body to produce a format that can be validated by multiple parsers is a failure to produce a usable format.
this needs a bit more research so I am going to untag it as fluff and tag it as needs further review. We need someone who knows their stuff to firstly reproduce the problem by feeding one of these schema files from part 4 into a few parsers and confirm they fail. Secondly we need to figure out if that is a bug in the parser, or a bug in the schema. Probably the best way to do this is to file a bug (after usual due diligence searches for existing bugs etc) at http://issues.apache.org/jira/browse/XERCESJ and see what they say about it.
oops, this one is tagged as a dupe and the hasdupes issue JP-02 is already tagged as needs further review. Maybe I will swap them over as this issue has a more detailed discussion on it.
GB - 621 is a duplicate of this; they propose a solution by unifiying all imports.