Farrukh,
Not sure why you say “not valid”. It is true that OMG changed the XSD significantly between the beta and the final spec, including the filenames (there are 5) and namespaces. The final BPMN20.xsd includes and imports the other XSD files correctly. You need to base your work on the final standard. Also, note that the BPMN2.0 By Example document on the OMG website is not based on the final XSD, and has other errors besides.
Bruce Silver
Principal, Bruce Silver Associates/BPMessentials
--
You received this message because you are subscribed to the Google Groups "BPMN Users Group" group.
To post to this group, send email to bpmn-use...@googlegroups.com.
To unsubscribe from this group, send email to bpmn-users-gro...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bpmn-users-group?hl=en.
Hmmm… This is really strange. You have the right URL for the xsd files, http://www.omg.org/spec/BPMN/20100501/, but it looks like someone replaced the file BPMN20.xsd dated 1/20/2011 with an earlier version 10/5/2009! I am pretty sure it was not always like that, since this is where I downloaded the xsd files. Here is the correct file… I don’t know where it is on the web now (seems like a major screwup from OMG):
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" targetNamespace="http://www.omg.org/spec/BPMN/20100524/MODEL" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xsd:import namespace="http://www.omg.org/spec/BPMN/20100524/DI" schemaLocation="BPMNDI.xsd"/>
<xsd:include schemaLocation="Semantic.xsd"/>
<xsd:element name="definitions" type="tDefinitions"/>
<xsd:complexType name="tDefinitions">
<xsd:sequence>
<xsd:element ref="import" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element ref="extension" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element ref="rootElement" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element ref="bpmndi:BPMNDiagram" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element ref="relationship" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="id" type="xsd:ID" use="optional"/>
<xsd:attribute name="name" type="xsd:string"/>
<xsd:attribute name="targetNamespace" type="xsd:anyURI" use="required"/>
<xsd:attribute name="expressionLanguage" type="xsd:anyURI" use="optional" default="http://www.w3.org/1999/XPath"/>
<xsd:attribute name="typeLanguage" type="xsd:anyURI" use="optional" default="http://www.w3.org/2001/XMLSchema"/>
<xsd:attribute name="exporter" type="xsd:string"/>
<xsd:attribute name="exporterVersion" type="xsd:string"/>
<xsd:anyAttribute namespace="##other" processContents="lax"/>
</xsd:complexType>
<xsd:element name="import" type="tImport"/>
<xsd:complexType name="tImport">
<xsd:attribute name="namespace" type="xsd:anyURI" use="required"/>
<xsd:attribute name="location" type="xsd:string" use="required"/>
<xsd:attribute name="importType" type="xsd:anyURI" use="required"/>
</xsd:complexType>
</xsd:schema>
Bruce Silver
Principal, Bruce Silver Associates/BPMessentials
Yes, looks fixed. The file is dated Aug 2011 (no longer 2009).
Bruce Silver
Principal, Bruce Silver Associates/BPMessentials
--
You received this message because you are subscribed to the Google Groups "BPMN Users Group" group.
To view this discussion on the web visit https://groups.google.com/d/msg/bpmn-users-group/-/rZPW_mocqkAJ.