PDA

View Full Version : another xml glitch


mrobinson95
06-12-2007, 11:26 PM
<?xml version="1.0" ?>
- <coffeecupmenu version="3.1" x="0" y="0" w="117" h="250" bkdobk="t" bkdogradient="f" bkfillclr="0xFFFFFF" bkfillalpha="100"

bkgradclr="0xFFFFFF" bkgradalpha="100" bkgradangle="70" bkdoimg="f" bkimg="" bkdobdr="f" bkbdrsolid="t" bkbdrcolor="0x808080"

bkdomask="t" fntx="0" fnty="0" fntalpha="100" fnttext="" fntsize="14" fntclr="0xFFFF00" fntbold="f" fntitalic="f" fnt="Comic

Sans MS" horz="f" transinalpha="t" transinxscale="t" transinyscale="t" transoutalpha="t" transoutxscale="t"

transoutyscale="t" showscrollbtns="f" fntuline="f" clicksound="" textposition="center" transparent="f" mfontSize="10"

mtextposition="center" mfontname="Arial" mfontweight="f" mfontstyle="f" mfontuline="f" mfontcolor="0x000000" btnimage="Simple

Rounded (8).png" menuimage="default2.png" dorollover="f">
- <buttonholder x="1" y="1" w="117" h="250" bkdomask="t" bkdobk="f" bkfillclr="0xc0c0c0" bkfillalpha="100" buttonw="115"

buttonh="34" buttonspacing="5" doscroll="t" horz="f" embedded="t">
<button bkdomask="t" bkdobk="f" bkfillalpha="100" bkdoimg="t" bkimg="Simple Rounded (8).png" txt="Home"

link="http://www.bittersweetskate.com/homepage.htm" frame="_parent" />
<button bkdomask="t" bkdobk="f" bkfillalpha="100" bkdoimg="t" bkimg="Simple Rounded (8).png" txt="Team"

link="http://www.bittersweetskate.com/teampage.htm" frame="_parent" />
<button bkdomask="t" bkdobk="f" bkfillalpha="100" bkdoimg="t" bkimg="Simple Rounded (8).png" txt="Products"

link="http://www.bittersweetskate.com/productpage.htm" frame="_parent" />
<button bkdomask="t" bkdobk="f" bkfillalpha="100" bkdoimg="t" bkimg="Simple Rounded (8).png" txt="Graphics"

link="http://www.bittersweetskate.com/graphicspage.htm" frame="_parent" />
<button bkdomask="t" bkdobk="f" bkfillalpha="100" bkdoimg="t" bkimg="Simple Rounded (8).png" txt="Myspace"

link="http://profile.myspace.com/index.cfm?fuseaction=user.viewprofile&friendid=164518519" frame="_parent" />
<button bkdomask="t" bkdobk="f" bkfillalpha="100" bkdoimg="t" bkimg="Simple Rounded (8).png" txt="Videos"

link="http://www.bittersweetskate.com/videopage.htm" frame="_parent" />
</buttonholder>
</coffeecupmenu>

----------------------------------
Invalid at the top level of the document. Error processing resource 'file:///C:/Documents and Settings/Default/Desktop/myme...

<?xml version="1.0" ?>

Arbitrator
06-13-2007, 05:15 AM
Could you show an actual XML document (preferably live) instead of a copy of what I assume you got from an error message? It would also help if you could tell us what software you’re using that produces the error message so that we can see it for ourselves (if it’s something like a browser or validator).

Anyway, your error message seems to be pretty unclear. If it’s really showing you the XML declaration, perhaps your XML processor wants you to specify the encoding or standalone attributes.

Based on the current code, you seem to have two well‐formedness errors:

You have character data outside of the document element (the outermost element) in the form of a hyphen‐minus (-) character.
You still haven’t fixed the ampersand issue mentioned in the second post of a previous thread (http://www.codingforums.com/showpost.php?p=572449&postcount=2).
I assume that the former error is a result of you copy‐and‐pasting from an error message; I’m not sure about the latter.