Hi,

thanks for the help.

Everything seems to be working fine and I am getting the data in my 
grid, appreciated.

-Malik
--- In [email protected], "Franck de Bruijn" 
<[EMAIL PROTECTED]> wrote:
>
> Hi Malik,
> 
>  
> 
> I have been able to reproduce your error.
> 
>  
> 
> The '<?xml . ' part needs to start at exactly the 1st row and the 
1st column
> of your .mxml file. If you add a space or a new line before it, the 
error
> you mention below will appear.
> 
>  
> 
> I think we were a little bit put on the wrong foot thinking your 
problem was
> a runtime error, but it appears to be a compile time error. Try to 
be more
> specific next time.
> 
>  
> 
> Cheers,
> 
> Franck
> 
>  
> 
>   _____  
> 
> From: [email protected] 
[mailto:[EMAIL PROTECTED] On
> Behalf Of malik_robinson
> Sent: vrijdag 6 januari 2006 8:52
> To: [email protected]
> Subject: [flexcoders] Re: New to Flex, and mxml and getting an 
error trying
> to use RSS
> 
>  
> 
> Hi,
> 
> I get this error with that code:
> 
> "The processing instruction target matching "[xX][mM][lL]" is not 
> allowed."
> 
> I copied that exact code into flex builder 2 alpha version and I 
get 
> that error message.
> 
> I wonder do I not have it setup correctly.
> 
> -Malik      
> 
> --- In [email protected], fla coder <[EMAIL PROTECTED]> wrote:
> >
> > the example still works for me today
> > 
> > try this code:
> > 
> > <?xml version="1.0" encoding="utf-8"?>
> > <mx:Application xmlns:mx="http://www.macromedia.com/2005/mxml"; 
> xmlns="*"
> > initialize="feedRequest.send()">
> >     <mx:HTTPService
> >         id="feedRequest"
> >         url="http://weblogs.macromedia.com/mchotin/index.xml";
> >         useProxy="false"/>
> > 
> >     <mx:Canvas width="100%" height="100%">
> >         <mx:Label x="20" y="50" 
> text="{feedRequest.result.rss.channel.title
> > }"/>
> >         <mx:DataGrid x="20" y="80" width="400" dataProvider="{
> > feedRequest.result.rss.channel.item}" id="dgPosts">
> >             <mx:columns>
> >                 <mx:DataGridColumn headerText="Posts" 
> columnName="title"/>
> >                 <mx:DataGridColumn headerText="Date" 
> columnName="pubDate"/>
> >             </mx:columns>
> >         </mx:DataGrid>
> >         <mx:TextArea x="20" y="245" width="400" htmlText="{
> > dgPosts.selectedItem.description}"/>
> >         <mx:Link x="20" y="300" label="Read full post" 
click="getURL
> (
> > dgPosts.selectedItem.link);"/>
> >     </mx:Canvas>
> > </mx:Application>
> > 
> > 
> > 
> > On 04/01/06, malik_robinson <[EMAIL PROTECTED]> wrote:
> > >
> > > Hi,
> > >
> > > I tried pointing it at the following URL:
> > >
> > > weblogs.macromedia.com/mchotin
> > >
> > > and I received the same error, can you try it using this URL 
and 
> let me
> > > know if you are able to see the result.  This URL should have 
the
> > > crossdomain.xml file in it as this URL is used in a tutorial on 
> the
> > > Macromedia/Adobe website.
> > >
> > > Thanks for the response.
> > >
> > > Malik
> > >
> > >
> > > --- In [email protected], "Franck de Bruijn" 
> <[EMAIL PROTECTED]>
> > > wrote:
> > > >
> > > > Hi Malik,
> > > >
> > > >
> > > >
> > > > It looks like your url is not pointing to a real XML file. I 
> tried your
> > > app
> > > > and I got the message 'Error #1090: XML parser failure: 
element 
> is
> > > > malformed'.
> > > >
> > > >
> > > >
> > > > Also be aware that you cannot point to any arbitrary URL in 
the 
> WWW,
> > > since
> > > > Flex apps are only allowed to obtain resources from the 
server 
> they have
> > > > been deployed from, unless there is a crossdomain.xml file 
> present
> > > granting
> > > > you access to the resource.
> > > >
> > > >
> > > >
> > > > Cheers,
> > > >
> > > > Franck
> > > >
> > > >
> > > >
> > > > _____
> > > >
> > > > From: [email protected] 
> [mailto:[EMAIL PROTECTED] On
> > > > Behalf Of malik_robinson
> > > > Sent: dinsdag 3 januari 2006 8:14
> > > > To: [email protected]
> > > > Subject: [flexcoders] New to Flex, and mxml and getting an 
> error trying
> > > to
> > > > use RSS
> > > >
> > > >
> > > >
> > > > Hi,
> > > >
> > > > I am very new to Flex and trying to try some basic tutorials 
in 
> the
> > > > help documentation that comes with Flex Builder 2 alpha.
> > > >
> > > > I searched the mailing list/archives trying to find out why I 
> get the
> > > > following error message but to no avail. The error is below:
> > > >
> > > > "The processing instruction target matching "[xX][mM][IL]" is 
> not
> > > > allowed."
> > > >
> > > > My code is below and is basically from the documentation that 
> comes
> > > > with the flex builder 2 alpha 1 version. The main difference 
is 
> I am
> > > > trying to point it as a different url other than the
> > > > weblogs.macromedia.com/mchotin or whatever the exact url is. 
I 
> am
> > > > trying to point it at a different URL.
> > > >
> > > > <?xml version="1.0" encoding="utf-8"?>
> > > > <mx:Application xmlns:mx="http://www.macromedia.com/2005/mxml";
> > > > xmlns="*"
> > > > initialize="feedRequest.send()" >
> > > >
> > > > <mx:HTTPService
> > > > id="feedRequest"
> > > > url="http://groups.yahoo.com/group/flexcoders/";
> > > > useProxy="false"/>
> > > >
> > > > <mx:Canvas width="100%" height="100%">
> > > > <mx:Label x="20" y="50"
> > > > text="{feedRequest.result.rss.channel.title}"/>
> > > > <mxataGrid x="20" y="80" id="dgPosts" width="400">
> > > > <mx:columns>
> > > > <mxataGridColumn headerText="Column 1"
> > > > columnName="col1"/>
> > > > <mxataGridColumn headerText="Column 2"
> > > > columnName="col2"/>
> > > > </mx:columns>
> > > > </mxataGrid>
> > > > <mx:TextArea x="20" y="245" width="400" />
> > > > <mx:Link x="20" y="300" label="Read Full Post" />
> > > > </mx:Canvas>
> > > > </mx:Application>
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Flexcoders Mailing List
> > > > FAQ: 
> http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > > > Search Archives:
> > > http://www.mail-archive.com/flexcoders%40yahoogroups.com
> > > >
> > > >
> > > >
> > > >
> > > > _____
> > > >
> > > > YAHOO! GROUPS LINKS
> > > >
> > > >
> > > >
> > > > * Visit your group "flexcoders
> > > > <http://groups.yahoo.com/group/flexcoders> " on the web.
> > > >
> > > > * To unsubscribe from this group, send an email to:
> > > > [EMAIL PROTECTED]
> > > > <mailto:[EMAIL PROTECTED]
> subject=Unsubscribe>
> > > >
> > > > * Your use of Yahoo! Groups is subject to the Yahoo!
> > > > <http://docs.yahoo.com/info/terms/> Terms of Service.
> > > >
> > > >
> > > >
> > > > _____
> > > >
> > >
> > >
> > >
> > >  --
> > > Flexcoders Mailing List
> > > FAQ: 
> http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > > Search Archives: http://www.mail-archive.com/flexcoders%
> <http://www.mail-archive.com/flexcoders%25> 
> 40yahoogroups.com
> > >
> > >
> > >
> > >  SPONSORED LINKS
> > >   Web site design development<http://groups.yahoo.com/gads?
> 
t=ms&k=Web+site+design+development&w1=Web+site+design+development&w2=C
> 
omputer+software+development&w3=Software+design+and+development&w4=Mac
> romedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=L-
> 4QTvxB_quFDtMyhrQaHQ>  Computer
> > > software development<http://groups.yahoo.com/gads?
> 
t=ms&k=Computer+software+development&w1=Web+site+design+development&w2
> 
=Computer+software+development&w3=Software+design+and+development&w4=M
> 
acromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=lv
> QjSRfQDfWudJSe1lLjHw>  Software
> > > design and development<http://groups.yahoo.com/gads?
> 
t=ms&k=Software+design+and+development&w1=Web+site+design+development&
> 
w2=Computer+software+development&w3=Software+design+and+development&w4
> 
=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=
> 1pMBCdo3DsJbuU9AEmO1oQ>   Macromedia
> > > flex<http://groups.yahoo.com/gads?
> 
t=ms&k=Macromedia+flex&w1=Web+site+design+development&w2=Computer+soft
> 
ware+development&w3=Software+design+and+development&w4=Macromedia+flex
> 
&w5=Software+development+best+practice&c=5&s=166&.sig=OO6nPIrz7_EpZI36
> cYzBjw>  Software
> > > development best practice<http://groups.yahoo.com/gads?
> 
t=ms&k=Software+development+best+practice&w1=Web+site+design+developme
> 
nt&w2=Computer+software+development&w3=Software+design+and+development
> 
&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.s
> ig=f89quyyulIDsnABLD6IXIw>
> > >  ------------------------------
> > > YAHOO! GROUPS LINKS
> > >
> > >
> > >    -  Visit your 
> group "flexcoders<http://groups.yahoo.com/group/flexcoders>"
> > >    on the web.
> > >
> > >    -  To unsubscribe from this group, send an email to:
> > >     [EMAIL PROTECTED]<flexcoders-
> [EMAIL PROTECTED]>
> > >
> > >    -  Your use of Yahoo! Groups is subject to the Yahoo! Terms 
of
> > >    Service <http://docs.yahoo.com/info/terms/>.
> > >
> > >
> > >  ------------------------------
> > >
> >
> 
> 
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%
40yahoogroups.com 
> 
> 
> 
> 
> SPONSORED LINKS 
> 
> 
> Web
> <http://groups.yahoo.com/gads?
t=ms&k=Web+site+design+development&w1=Web+site
> 
+design+development&w2=Computer+software+development&w3=Software+desig
n+and+
> 
development&w4=Macromedia+flex&w5=Software+development+best+practice&c
=5&s=1
> 66&.sig=L-4QTvxB_quFDtMyhrQaHQ>  site design development 
> 
> Computer
> <http://groups.yahoo.com/gads?
t=ms&k=Computer+software+development&w1=Web+si
> 
te+design+development&w2=Computer+software+development&w3=Software+des
ign+an
> 
d+development&w4=Macromedia+flex&w5=Software+development+best+practice
&c=5&s
> =166&.sig=lvQjSRfQDfWudJSe1lLjHw>  software development 
> 
> Software
> <http://groups.yahoo.com/gads?
t=ms&k=Software+design+and+development&w1=Web+
> 
site+design+development&w2=Computer+software+development&w3=Software+d
esign+
> 
and+development&w4=Macromedia+flex&w5=Software+development+best+practi
ce&c=5
> &s=166&.sig=1pMBCdo3DsJbuU9AEmO1oQ>  design and development 
> 
> 
> Macromedia
> <http://groups.yahoo.com/gads?
t=ms&k=Macromedia+flex&w1=Web+site+design+deve
> 
lopment&w2=Computer+software+development&w3=Software+design+and+develo
pment&
> 
w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.si
g=OO6n
> PIrz7_EpZI36cYzBjw>  flex 
> 
> Software
> <http://groups.yahoo.com/gads?
t=ms&k=Software+development+best+practice&w1=W
> 
eb+site+design+development&w2=Computer+software+development&w3=Softwar
e+desi
> 
gn+and+development&w4=Macromedia+flex&w5=Software+development+best+pra
ctice&
> c=5&s=166&.sig=f89quyyulIDsnABLD6IXIw>  development best practice 
> 
>  
> 
>  
> 
>   _____  
> 
> YAHOO! GROUPS LINKS 
> 
>  
> 
> *      Visit your group "flexcoders
> <http://groups.yahoo.com/group/flexcoders> " on the web.
>   
> *      To unsubscribe from this group, send an email to:
>  [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]> 
>   
> *      Your use of Yahoo! Groups is subject to the Yahoo!
> <http://docs.yahoo.com/info/terms/>  Terms of Service. 
> 
>  
> 
>   _____
>






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to