[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

04/18/2009 at 08:14AM PDT, ID: 24334306
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

9.1

XML issues in flex

Asked by stargateatlantis in Internet Marketing, Adobe Flex, ActionScript

I am using Flex Builder 3.0 and i keep getting XML issues when loading XML data using mx:HTTPService.  The XML is formated properly because I have tested it in Internet Explorer.  Is there a method where I can use in ActionScript so that if there is a Invalid formatted record it doesn't stop loading the data but skips over that XML record?

I get the following error code



Error #1096: XML parser failure
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
/* This is the datagrid for loading the xml data */
	<mx:DataGrid y="106.95" width="90%" editable="false" id="grdanalytics" height="85%" horizontalCenter="5" cachePolicy="off">
		<mx:columns>
			
			<mx:DataGridColumn dataField="posttype" width="5" headerText="">
			      <mx:itemRenderer>
			          <mx:Component>
			                  <mx:Image source="{data.posttype}" height="5" width="5" maintainAspectRatio="true"/>
			          </mx:Component>
			      </mx:itemRenderer>
			     </mx:DataGridColumn>
			
			
			
		<mx:DataGridColumn headerText="Title" dataField="title" width="45" wordWrap="true">
		   <mx:itemRenderer>
		           <mx:Component>
		                   <mx:Text htmlText="{data.title}"/>  
		           </mx:Component>
		   </mx:itemRenderer>
		</mx:DataGridColumn>
			
		<mx:DataGridColumn headerText="Discussion" dataField="discussion" width="17"/>
			<mx:DataGridColumn headerText="Country" dataField="country" width="12"/>
			<mx:DataGridColumn headerText="Date" dataField="rtDate" width="12"/>			
		</mx:columns>
	</mx:DataGrid>
	<mx:Grid y="64.95" width="90%" horizontalCenter="4">
		<mx:GridRow width="100%" height="100%">
			<mx:GridItem width="100%" height="100%">
				<mx:ComboBox width="90%" id="lstcountry" labelField="label" dataProvider="{sercountry.lastResult.countires.ctnry}" change="handleCloseEventCountry(event);"></mx:ComboBox>
			</mx:GridItem>
			<mx:GridItem width="100%" height="100%">
				<mx:ComboBox id="pstType" width="90%" labelField="label" dataProvider="{serpostType.lastResult.posttypes.post}" change="handleCloseEventTone(event);"></mx:ComboBox>
			</mx:GridItem>
			<mx:GridItem width="100%" height="100%">
				<mx:ComboBox width="90%" id="lstdiscussion" dataProvider="{serDiscussion.lastResult.discussions.diss}" labelField="label" change="handleCloseEventDiscussion(event)"></mx:ComboBox>
			</mx:GridItem>
			<mx:GridItem width="100%" height="100%">
				<mx:ComboBox width="90%" labelField="label" id="lstpages" change="handleCloseEventPages(event);" dataProvider="{getPages.lastResult.pages.pgno}"></mx:ComboBox>
			</mx:GridItem>
		</mx:GridRow>
	</mx:Grid>
	<mx:Grid y="10" width="90%" height="46.95" horizontalCenter="4" verticalScrollPolicy="off" horizontalScrollPolicy="off">
		<mx:GridRow width="100%" height="100%">
			<mx:GridItem width="100%" height="100%" horizontalAlign="left">
				<mx:ComboBox width="204" id="lstCompanies" labelField="name" dataProvider='{getCompanies.lastResult.companies.company}' change="HdlCompanies(event);"></mx:ComboBox>
				<mx:Button label="Refresh" id="rfresh" click="refreshData()"/>
			</mx:GridItem>
			<mx:GridItem width="100%" height="100%">
			</mx:GridItem>
			<mx:GridItem width="100%" height="100%">
				<mx:TextInput id="txtSearch"/>
				<mx:Button label="Search" id="btnSearch" click="RTSearch()"/>
			</mx:GridItem>
		</mx:GridRow>
		<mx:GridRow width="100%" height="100%">
			<mx:GridItem width="100%" height="100%">
			</mx:GridItem>
			<mx:GridItem width="100%" height="100%">
			</mx:GridItem>
			<mx:GridItem width="175" height="100%" horizontalAlign="left">
				<mx:RadioButton label="Company" groupName="filterSearch" selected="true" id="rdCompany"/>
				<mx:RadioButton label="All" groupName="filterSearch" id="rdAll"/>
			</mx:GridItem>
		</mx:GridRow>
	</mx:Grid>
 
Keywords: XML issues in flex
 
Loading Advertisement...
 
[+][-]04/18/09 11:30 PM, ID: 24178069

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04/19/09 04:35 AM, ID: 24178677

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04/20/09 10:57 PM, ID: 24191220

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04/21/09 04:16 AM, ID: 24192992

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05/05/09 07:48 AM, ID: 24305302

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Internet Marketing, Adobe Flex, ActionScript
Sign Up Now!
Solution Provided By: rascalpants
Participating Experts: 2
Solution Grade: A
 
 
 
Loading Advertisement...
20091028-EE-VQP-85 - Hierarchy / EE_QW_3_20080625