diff --git a/DFDL/dataFormats/pcapng/src/main/resources/edu/nps/moves/pcapng/xsd/pcapng.dfdl.xsd b/DFDL/dataFormats/pcapng/src/main/resources/edu/nps/moves/pcapng/xsd/pcapng.dfdl.xsd index c9b9d922c296bfa8f8f9af093f0c708209169775..f0ea111a7bbd712936918cdcbbc82077836e4e72 100644 --- a/DFDL/dataFormats/pcapng/src/main/resources/edu/nps/moves/pcapng/xsd/pcapng.dfdl.xsd +++ b/DFDL/dataFormats/pcapng/src/main/resources/edu/nps/moves/pcapng/xsd/pcapng.dfdl.xsd @@ -36,7 +36,7 @@ POSSIBILITY OF SUCH DAMAGE. <!-- Based on the original PCAP schema at: https://github.com/DFDLSchemas/PCAP --> -<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" version="1.1" +<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:dfdl="http://www.ogf.org/dfdl/dfdl-1.0/" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:dfdlx="http://www.ogf.org/dfdl/dfdl-1.0/extensions" @@ -44,7 +44,8 @@ POSSIBILITY OF SUCH DAMAGE. xmlns:db="urn:dynamicEndianBinary" xmlns:pcapng="urn:pcapng:1.0" xmlns:tns="urn:pcapng:1.0" - targetNamespace="urn:pcapng:1.0"> + targetNamespace="urn:pcapng:1.0" + version="1.0"> <xs:import namespace="urn:dynamicEndianBinary" schemaLocation="com/tresys/pcap/xsd/binaryDynamicByteOrder.dfdl.xsd"/> @@ -349,7 +350,7 @@ POSSIBILITY OF SUCH DAMAGE. <xs:complexType name="LinkLayer"> <xs:choice> - <xs:choice dfdl:choiceDispatchKey="{ xs:string(../../../../InterfaceDescription/Block/Body/LinkType ) }"> + <xs:choice dfdl:choiceDispatchKey="{ xs:string(../../../../InterfaceDescription/Block/Body/LinkType) }"> <xs:element name="Ethernet" type="eth:Ethernet" dfdl:choiceBranchKey="1"/> <!--add additional network types here--> </xs:choice>