Xml closing tag missing in stressStrain Element recorder?

For developers writing C++, Fortran, Java, code who have questions or comments to make.

Moderators: silvia, selimgunay, Moderators

Post Reply
arbarbosa
Posts: 112
Joined: Tue Sep 07, 2004 1:48 am
Location: Oregon State University
Contact:

Xml closing tag missing in stressStrain Element recorder?

Post by 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.

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]
André
aneeman
Posts: 90
Joined: Thu Jan 12, 2006 1:13 pm
Contact:

Re: Xml closing tag missing in stressStrain Element recorder

Post by aneeman »

[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
arbarbosa
Posts: 112
Joined: Tue Sep 07, 2004 1:48 am
Location: Oregon State University
Contact:

Post by arbarbosa »

Good to know. I made my own little parser in Matlab and I will update it. Thanks Alisa.
André
fmk
Site Admin
Posts: 5884
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Post by fmk »

SectionAggregator should be now fixed.
Post Reply