Changeset 174

Show
Ignore:
Timestamp:
04/06/11 15:36:46 (13 years ago)
Author:
yaolu
Message:

did some changes so the XSD will work with the old XML test report.

Location:
projects/DailyDrillingReport_1.2/XML/HTMLreport
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • projects/DailyDrillingReport_1.2/XML/HTMLreport/WITSML_drillReport_profiled_schema_2011_01_29.xsd

    r172 r174  
    168168                </xsd:annotation> 
    169169                <xsd:sequence> 
     170                        <xsd:element name="numBit" type="witsml:str32" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17831262"> 
     171                                <!--PROFILE: Changed minOccurs from 0 to 1 for element numBit.--> 
     172 
     173                                <xsd:annotation> 
     174                                        <xsd:documentation>Bit number and rerun number e.g. "4.1" for the first rerun of bit 4.</xsd:documentation> 
     175                                </xsd:annotation> 
     176                        </xsd:element> 
    170177                        <xsd:element name="diaBit" type="witsml:lengthMeasure" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17831442"> 
    171178                                <!--PROFILE: Changed type from witsml:lengthMeasure to witsml:lengthMeasureInch for element diaBit.--> 
     
    175182                                </xsd:annotation> 
    176183                        </xsd:element> 
    177                         <xsd:element name="numBit" type="witsml:str32" minOccurs="1" maxOccurs="1" sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17831262"> 
    178                                 <!--PROFILE: Changed minOccurs from 0 to 1 for element numBit.--> 
    179  
    180                                 <xsd:annotation> 
    181                                         <xsd:documentation>Bit number and rerun number e.g. "4.1" for the first rerun of bit 4.</xsd:documentation> 
    182                                 </xsd:annotation> 
    183                         </xsd:element> 
    184184                        <!--PROFILE: Deleted element diaPassThru.--> 
    185185                        <!--PROFILE: Deleted element diaPilot.--> 
    186                         <!--PROFILE: Deleted element manufacturer.--> 
     186                        <xsd:element name="manufacturer" type="witsml:nameString" minOccurs="0" maxOccurs="1" 
     187         sawsdl:modelReference="http://rds.posccaesar.org/2008/02/XML/RDL/RDS17831532"> 
     188            <!--PROFILE: Changed minOccurs from 0 to 1 for element manufacturer.--> 
     189            <xsd:annotation> 
     190               <xsd:documentation>Manufacturer / supplier of the item.</xsd:documentation> 
     191            </xsd:annotation> 
     192         </xsd:element> 
    187193                        <!--PROFILE: Deleted element typeBit.--> 
    188194                        <!--PROFILE: Deleted element cost.--> 
     
    221227                        <!--PROFILE: Deleted element extensionAny.--> 
    222228                        <!--PROFILE: Deleted element extensionNameValue.--> 
    223                         <xsd:element name="bitRun" type="witsml:cs_drillingParams"> 
     229                        <xsd:element name="bitRun" type="witsml:cs_drillingParams" minOccurs="0" maxOccurs="1"> 
    224230                                <xsd:annotation> 
    225231                                        <xsd:documentation>information about a bit run.</xsd:documentation> 
  • projects/DailyDrillingReport_1.2/XML/HTMLreport/testDocumet_2011_02_07.xml

    r171 r174  
    9494                </witsml:statusInfo> 
    9595                <witsml:bitRecord> 
     96                        <witsml:numBit>1</witsml:numBit> 
    9697                        <witsml:diaBit uom="in">24.6</witsml:diaBit> 
    97                         <witsml:numBit>1</witsml:numBit> 
    9898                        <witsml:codeMfg>SSB</witsml:codeMfg> 
    9999                        <witsml:dullGrade>2/3/NO/A/X/I/NO/DTF</witsml:dullGrade> 
     
    111111                </witsml:bitRecord> 
    112112                <witsml:bitRecord> 
     113                        <witsml:numBit>2</witsml:numBit> 
    113114                        <witsml:diaBit uom="in">12.2</witsml:diaBit> 
    114                         <witsml:numBit>2</witsml:numBit> 
    115115                        <witsml:codeMfg>SSB</witsml:codeMfg> 
    116116                        <witsml:dullGrade>0/4/BT/B/X/I/BU/DTF</witsml:dullGrade>