Go Back   CodingForums.com > :: Client side development > Flash & ActionScript > Adobe Flex

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 12-03-2008, 09:12 PM   PM User | #1
mista.speckta
New to the CF scene

 
Join Date: Dec 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
mista.speckta is an unknown quantity at this point
Invalid XML name <Version2.0/>

Hi everyone,

My XML schema requires me to use the <Version2.0/> tag, and flex builder 3 gives me a "invalid xml name" error caused by the period in "Version2.0" and 2 other syntax errors. If I removed the period --> <Version20/>, the errors goes away.

Code:
	<mx:Script>
		<![CDATA[
		        
                private var xmlMessage:XML;
	        
	        public function method():
                {
			xmlMessage = <Version2.0/>;  // X invalid xml name
	        }
		]]>     //  X syntax error: expecting rightbrace before end of prog
                         //  X syntax error: expecting xmltagendend before end of program.
	</mx:Script>
Is there a way around this? Thanks in advance for any help!

-S
mista.speckta is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 12:07 AM.


Advertisement
Log in to turn off these ads.