Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Attribute value error

Status
Not open for further replies.

MarkShark

Programmer
Aug 22, 2001
36
US
I get and error in the following XML that states "Attribute value "B0" of type ID must be unique within the document. What exactly does this mean and how would I fix it? Thanks a million in advance.

<?xml version = &quot;1.0&quot; encoding = &quot;UTF-8&quot;?>
<!DOCTYPE course SYSTEM &quot;../DTD/sco_csf(5).dtd&quot;>
<course>
<globalProperties>
<externalMetadata>
<source>TESCO</source>
<model>ADL SCORM 1.0</model>
<location>3M.xml</location>
</externalMetadata>
<curricularTaxonomy>
<model>ADL Sample LMS Course Model</model>
</curricularTaxonomy>
</globalProperties>
<!-- The whole course -->

<block id = &quot;B0&quot;>
<!--<objectiveRef targetIDs=&quot;O1&quot;/>-->

<identification>
<title>3M</title>
<description>This course prepares Naval Officers and Petty Officers to administer and operate Shipboard 3-M Systems.</description>
<labels>
<curricular>COURSE</curricular>
<developer>TESCO</developer>
</labels>
</identification>
<!-- Course Intro -->

<block id = &quot;B000&quot;>
<externalMetadata>
<source>ADL</source>
<model>ADL SCORM 1.0</model>
<location>courses/3M.xml</location>
</externalMetadata>
<!--<objectiveRef targetIDs=&quot;O2&quot;/>-->

<identification>
<title>Overview</title>
<description>Course Intro</description>
<labels>
<curricular>LESSON</curricular>
<developer>TESCO</developer>
</labels>
</identification>
<completionReq type = &quot;aicc_script&quot;> <![CDATA[A000001]]> </completionReq>
<au id = &quot;A000001&quot;>
<externalMetadata>
<source>ADL</source>
<model>ADL SCORM 1.0</model>
<location>3M/Introduction/3m_intro.xml</location>
</externalMetadata>
<identification>
<title>Overview</title>
<description>au00</description>
<labels>
<curricular>AU</curricular>
<developer>TESCO</developer>
</labels>
</identification>
<launch>
<location>3M/Introduction/3m_intro.html</location>
</launch>
</au>
<!--A000001-->

</block>
<!--B000-->

<block id = &quot;B100&quot;>
<externalMetadata>
<source>ADL</source>
<model>ADL SCORM 1.0</model>
<location>3M/Lesson01.xml</location>
</externalMetadata>
<!--<objectiveRef targetIDs=&quot;O2&quot;/>-->

<identification>
<title>Unit 1: Ships' 3M Systems</title>
<description>Ships' 3M Systems</description>
<labels>
<curricular>LESSON</curricular>
<developer>TESCO</developer>
</labels>
</identification>
<completionReq type = &quot;aicc_script&quot;> <![CDATA[A000001]]> </completionReq>
<au id = &quot;A100001&quot;>
<externalMetadata>
<source>ADL</source>
<model>ADL SCORM 1.0</model>
<location>3M/Ships3M/Ships3M.xml</location>
</externalMetadata>
<identification>
<title>Introduction to Ships' Maintenance and Material Management (3-M)
Systems</title>
<description>Ships3M</description>
<labels>
<curricular>AU</curricular>
<developer>TESCO</developer>
</labels>
</identification>
<launch>
<location>3M/Ships3M/3m_u1_t1.html</location>
</launch>
</au>
<!--A100001-->

</block>
<!--B100-->

</block>
</course>
 
MarkShark,

Just get all your block i end end tags the block b0 has no end tag...it id needs and end tag


Aaron
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top