Hi,
It seems there is a little bug in the xml output format for the stressStrain Element recorder.
The <SectionOutput secType="SectionAggregator" secTag="1"/> is missing a closing tag.
I have posted the recorder command and output below in case it is useful.
Thanks
[code]recorder Element -xml $dataDir/SigEpsConcrete1_Sec$numIntgrPts.xml -time -ele 10 11 12 13 section $numIntgrPts fiber -$coreY -$coreZ $IDconcU stressStrain[/code]
[code]<ElementOutput eleType="ForceBeamColumn2d" eleTag="10" node1="5" node2="10">
<GaussPointOutput number="2" eta="1.000000">
[b]<SectionOutput secType="SectionAggregator" secTag="1"/>[/b]
<SectionOutput secType="FiberSection3d" secTag="2">
<FiberOutput yLoc="-0.118750" zLoc="0.050000" area="0.001250">
<UniaxialMaterialOutput matType="Steel01" matTag="2">
<ResponseType>sig11</ResponseType>
<ResponseType>eps11</ResponseType>
</UniaxialMaterialOutput>
</FiberOutput>
</SectionOutput>
</GaussPointOutput>
</ElementOutput>[/code]
Xml closing tag missing in stressStrain Element recorder?
Moderators: silvia, selimgunay, Moderators
Re: Xml closing tag missing in stressStrain Element recorder
[quote="arbarbosa"]Hi,
It seems there is a little bug in the xml output format for the stressStrain Element recorder.
The <SectionOutput secType="SectionAggregator" secTag="1"/> is missing a closing tag.
[/quote]
There's two ways to have XML tags:
<tagname> value </tagname>
and
<tagname attribute="value" />
Both are legitimate XML tags, the latter case is a sort of shorthand for opening and closing the tag. It's used in the case where there's no nested tags below, and the attribute has a single value. So it should still be parse-able by any standard XML parser.
cheers, alisa
It seems there is a little bug in the xml output format for the stressStrain Element recorder.
The <SectionOutput secType="SectionAggregator" secTag="1"/> is missing a closing tag.
[/quote]
There's two ways to have XML tags:
<tagname> value </tagname>
and
<tagname attribute="value" />
Both are legitimate XML tags, the latter case is a sort of shorthand for opening and closing the tag. It's used in the case where there's no nested tags below, and the attribute has a single value. So it should still be parse-able by any standard XML parser.
cheers, alisa