View Issue Details

IDProjectCategoryView StatusLast Update
0001710UAImplementation Bugpublic2011-08-20 06:49
ReporterFrancine Sauvage Assigned ToRandy Armstrong  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionno change required 
Summary0001710: NodeSet2.xml generation issue : Extension Object
Description

In the original file (MyInstances.xml) file I have an extension object :

      <Variable SymbolicName="ns239:MaxPollingTime" TypeDefinition="ns237:AnalogItemType" DataType="ns237:Double" AccessLevel="ReadWrite" Historizing="true">
        <DisplayName>Max Polling Time (in milliseconds)</DisplayName>
        <Children>
          <Property SymbolicName="ns237:EngineeringUnits" ModellingRule="Mandatory" DataType="ns237:EUInformation" AccessLevel="None">
            <DefaultValue>
              <ExtensionObject xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://opcfoundation.org/UA/2008/02/Types.xsd">
                <TypeId>
                  <Identifier>i=888</Identifier>
                </TypeId>
                <Body>
                  <EUInformation xmlns="">
                    <NamespaceUri>http://www.nist.gov</NamespaceUri>
                    <UnitId>0</UnitId>
                    <DisplayName>
                      <Locale p5:nil="true" xmlns:p5="http://www.w3.org/2001/XMLSchema-instance" />
                      <Text>ms</Text>
                    </DisplayName>
                    <Description>
                      <Locale p5:nil="true" xmlns:p5="http://www.w3.org/2001/XMLSchema-instance" />
                      <Text>milliseconds</Text>
                    </Description>
                  </EUInformation>
                </Body>
              </ExtensionObject>
            </DefaultValue>
          </Property>
        </Children>
        <DefaultValue>
          <Double xmlns="http://opcfoundation.org/UA/2008/02/Types.xsd">30000</Double>
        </DefaultValue>
      </Variable>

When I generate the file, I have an issue in the Text :

<UAVariable NodeId="ns=1;i=319" BrowseName="EngineeringUnits" DataType="i=887">
<DisplayName>EngineeringUnits</DisplayName>
<References>
<Reference ReferenceType="HasTypeDefinition">i=68</Reference>
<Reference ReferenceType="HasProperty" IsForward="false">ns=1;i=314</Reference>
</References>
<Value>
<ExtensionObject xmlns="http://opcfoundation.org/UA/2008/02/Types.xsd&quot;>
<TypeId>
<Identifier>i=888</Identifier>
</TypeId>
<Body>
<EUInformation>
<NamespaceUri p4:nil="true" xmlns:p4="http://www.w3.org/2001/XMLSchema-instance&quot; />
<UnitId>0</UnitId>
<DisplayName>
<Locale p5:nil="true" xmlns:p5="http://www.w3.org/2001/XMLSchema-instance&quot; />
<Text p5:nil="true" xmlns:p5="http://www.w3.org/2001/XMLSchema-instance&quot; />
</DisplayName>
<Description>
<Locale p5:nil="true" xmlns:p5="http://www.w3.org/2001/XMLSchema-instance&quot; />
<Text p5:nil="true" xmlns:p5="http://www.w3.org/2001/XMLSchema-instance&quot; />
</Description>
</EUInformation>
</Body>
</ExtensionObject>
</Value>
</UAVariable>

It should be :
<UAVariable NodeId="ns=1;i=319" BrowseName="EngineeringUnits" DataType="i=887">
<DisplayName>EngineeringUnits</DisplayName>
<References>
<Reference ReferenceType="HasTypeDefinition">i=68</Reference>
<Reference ReferenceType="HasProperty" IsForward="false">ns=1;i=314</Reference>
</References>
<Value>
<ExtensionObject xmlns="http://opcfoundation.org/UA/2008/02/Types.xsd&quot;>
<TypeId>
<Identifier>i=888</Identifier>
</TypeId>
<Body>
<EUInformation>
<NamespaceUri p4:nil="true" xmlns:p4="http://www.w3.org/2001/XMLSchema-instance&quot; />
<UnitId>0</UnitId>
<DisplayName>
<Locale p5:nil="true" xmlns:p5="http://www.w3.org/2001/XMLSchema-instance&quot; />
<Text>ms</Text>
</DisplayName>
<Description>
<Locale p5:nil="true" xmlns:p5="http://www.w3.org/2001/XMLSchema-instance&quot; />
<Text>milliseconds</Text>
</Description>
</EUInformation>
</Body>
</ExtensionObject>
</Value>
</UAVariable>

TagsNo tags attached.
Fix Due Date

Activities

Randy Armstrong

2011-08-20 06:49

administrator   ~0002838

The Design File uses the wrong NamespaceUri for the EUInformation element.

Issue History

Date Modified Username Field Change
2011-08-19 12:57 Francine Sauvage New Issue
2011-08-20 06:49 Randy Armstrong Status new => resolved
2011-08-20 06:49 Randy Armstrong Resolution open => no change required
2011-08-20 06:49 Randy Armstrong Assigned To => Randy Armstrong
2011-08-20 06:49 Randy Armstrong Note Added: 0002838