Podcast / Vodcast combo possible with XML?

I don't seem to be having any luck generating a good feed when I added a video podcast ("vodcast") to my feed. Is having both the mp3 and m4v formats in one XML file not allowed? Maybe I messsed up the coding somewhere?
My XML:
<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
<channel>
<itunes:new-feed-url>http://feeds.feedburner.com/TheFlightcast</itunes:new-feed-url>
<title>The Flightcast!</title>
<link>http://flightsimulatorxworld.com</link>
<language>en-us</language>
<copyright>Patrick Ashley</copyright>
<itunes:subtitle>Now departing for flight simulation topics!</itunes:subtitle>
<itunes:author>Patrick Ashley</itunes:author>
<itunes:summary>The Flightcast is a weekly show regarding Flight Simulation, especially Microsoft Flight Simulator X, and produced by FlightSimulatorXworld.com. Weekly features include interviews and tips of the week.</itunes:summary>
<description>The Flightcast is a weekly show regarding Flight Simulation, especially Microsoft Flight Simulator X, and produced by FlightSimulatorXworld.com. Weekly features include interviews and tips of the week.</description>
<itunes:owner>
<itunes:name>Patrick Ashley</itunes:name>
<itunes:email>[email protected]</itunes:email>
</itunes:owner>
<itunes:image href="http://downloads.flightsimulatorxworld.com/pod/flightcast.jpg" />
<itunes:category text="Games & Hobbies">
<itunes:explicit>clean</itunes:explicit>
</itunes:category>
<item>
<title>Maiden Voyage</title>
<itunes:author>Patrick Ashley</itunes:author>
<itunes:subtitle>Our first podcast!</itunes:subtitle>
<itunes:summary>In this 'maiden voyage' podcast, I discuss the features of FlightSimulatorXworld.com, and possible future features.</itunes:summary>
<enclosure url="http://downloads.flightsimulatorxworld.com/pod/Flightcast#1.mp3" length="18331578" type="audio/x-m4a" />
<guid>http://downloads.flightsimulatorxworld.com/pod/Flightcast#1.mp3</guid>
<pubDate>Mon, 02 Apr 2007 19:00:00 GMT</pubDate>
<itunes:duration>18:57</itunes:duration>
<itunes:keywords>MSFS,Flight Sim,FS,Flight Simulation,Microsoft</itunes:keywords>
</item>
<item>
<title>TrackIR: A Must-Have!</title>
<itunes:author>Patrick Ashley</itunes:author>
<itunes:subtitle>Our first video podcast!</itunes:subtitle>
<itunes:summary>I interview Warren Blyth, from NaturalPoint, the makers of the TrackIR interface, and the tip of the week!</itunes:summary>
<enclosure url="http://downloads.flightsimulatorxworld.com/pod/Flightcast#2.m4v" length="208163445" type="video/x-m4v" />
<guid>http://downloads.flightsimulatorxworld.com/pod/Flightcast#2.m4v</guid>
<pubDate>Tue, 17 Apr 2007 10:00:00 GMT</pubDate>
<itunes:duration>17:25</itunes:duration>
<itunes:keywords>FS,fs,Microsoft,flight sim,flight simulator,flight simulation</itunes:keywords>
</item>
</channel>
</rss>
Imac G4 20"   Mac OS X (10.4.9)  
Imac G4 20"   Mac OS X (10.4.9)  

You'll also need to properly "escape" you ampersand in "games & Hobbies"
the tag should be:
<itunes:category text="Games &amp; Hobbies" />
You .mp3 files should have a type of "audio/x-mpeg"
The links to the files are dead. Either the URL is incorrect, the file has been removed or the filename is incorrect.
Erik

Similar Messages

  • [Table access] RFC with XML

    Hi everyone,
    The idea is to be able to read/write a table in the backend system (would it be R/3 or BW) from the Visual Composer.
    In a first attempt, I managed to do it by creating 2 RFCs: one for reading the table, another for modifying it. It works quite well.
    <u>Problem</u>
    1) Let's say I want to do it for a large number of tables: Do I have to build as much RFCs as there are tables ?
       In other words: Is there a way to do it generically ?
       <i>-> I did it in BSP but it is much simple since we can use reference (TYPE REF TO DATA)</i>
    <u>Bad idea</u>
    1) Concatenate all fields in a string
    -> Read: a lot of actions have to be performed to display the string in the tableview
    -> Write: ok as long as there is only string fields but as soon as there is something else, it a nightmare
    <u>Good Idea ?</u>
    1) Let's use XML to wrap fields up. It will be quick and easy by using CALL TRANSFORMATION on the backend
    <b>Question: How do we transform our XML to fit into the VC tableview ?</b>
    Thanks in advance.
    Best regards,
    Guillaume

    Hi Guillaume,
    I had the same problem a few months ago. There is no way to use a generic structure in VC. A workaround was my solution. I added a structure in SE11 with several strings. Each string for a column with values. This is not the best solution, but another isn't possible atm.
    XML is an alternative, but I never read something about using it in VC with tables. I think there is also the problem with the generic structure. At designtime VC doesn't know the structure of the XML file. When you use queries you can use define/test data service -> execute -> generate for each model.
    If somebody knows, if it is possible with XML, please give us a hint. I hope Mario will read this thread.
    Best Regards,
    Marcel

  • Problem with XML in APEX ORA-06502

    i, I have a problem with XML generation, I developed an application in APEX, and in a html page I have this process:
    declare
    l_XML varchar2(32767);
    begin
    select xmlElement
    "iva",
    xmlElement("numeroRuc",J.RUC),
    xmlElement("razonSocial", J.RAZON_SOCIAL),
    xmlElement("idRepre", J.ID_REPRE),
    xmlElement("rucContador", J.RUC_CONTADOR),
    xmlElement("anio", J.ANIO),
    xmlElement("mes", J.MES),
    xmlElement
    "compras",
    select xmlAgg
    xmlElement
    "detalleCompra",
    --xmlAttributes(K.ID_COMPRA as "COMPRA"),
    xmlForest
    K.COD_SUSTENTO as "codSustento",
    K.TPLD_PROV as "tpldProv",
    K.ID_PROV as "idProv",
    K.TIPO_COMPROBANTE as "tipoComprobante",
    to_char(K.FECHA_REGISTRO, 'DD/MM/YYYY') as "fechaRegistro",
    K.ESTABLECIMIENTO as "establecimiento",
    K.PUNTO_EMISION as "puntoEmision",
    K.SECUENCIAL as "secuencial",
    to_char(K.FECHA_EMISION, 'DD/MM/YYYY') as "fechaEmision",
    K.AUTORIZACION as "autorizacion",
    to_char(K.BASE_NO_GRA_IVA, 9999999999.99) as "baseNoGraIva",
    to_char(K.BASE_IMPONIBLE, 9999999999.99) as "baseImponible",
    to_char(K.BASE_IMP_GRAV, 9999999999.99) as "baseImpGrav",
    to_char(K.MONTO_ICE, 9999999999.99) as "montoIce",
    to_char(K.MONTO_IVA, 9999999999.99) as "montoIva",
    to_char(K.VALOR_RET_BIENES, 9999999999.99) as "valorRetBienes",
    to_char(K.VALOR_RET_SERVICIOS, 9999999999.99) as "valorRetServicios",
    to_char(K.VALOR_RET_SERV_100, 9999999999.99) as "valorRetServ100"
    xmlElement
    "air",
    select xmlAgg
    xmlElement
    "detalleAir",
    xmlForest
    P.COD_RET_AIR as "codRetAir",
    to_char(P.BASE_IMP_AIR, 9999999999.99) as "baseImpAir",
    to_char(P.PORCENTAJE_AIR, 999.99) as "porcentajeAir",
    to_char(P.VAL_RET_AIR, 9999999999.99) as "valRetAir"
    from ANEXO_COMPRAS P
    where P.ID_COMPRA = K.ID_COMPRA
    AND P.ID_INFORMANTE_XML = K.ID_INFORMANTE_XML
    xmlElement("estabRetencion1", K.ESTAB_RETENCION_1),
    xmlElement("ptoEmiRetencion1", K.PTO_EMI_RETENCION_1),
    xmlElement("secRetencion1", K.SEC_RETENCION_1),
    xmlElement("autRetencion1", K.AUT_RETENCION_1),
    xmlElement("fechaEmiRet1", to_char(K.FECHA_EMI_RET_1,'DD/MM/YYYY')),
    xmlElement("docModificado", K.DOC_MODIFICADO),
    xmlElement("estabModificado", K.ESTAB_MODIFICADO),
    xmlElement("ptoEmiModificado", K.PTO_EMI_MODIFICADO),
    xmlElement("secModificado", K.SEC_MODIFICADO),
    xmlElement("autModificado", K.AUT_MODIFICADO)
    from SRI_COMPRAS K
    WHERE K.ID IS NOT NULL
    AND K.ID_INFORMANTE_XML = J.ID_INFORMANTE
    AND K.ID BETWEEN 1 AND 25
    ).getClobVal()
    into l_XML
    from ANEXO_INFORMANTE J
    where J.ID_INFORMANTE =:P3_MES
    and J.RUC =:P3_ID_RUC
    and J.ANIO =:P3_ANIO
    and J.MES =:P3_MES;
    --HTML
    sys.owa_util.mime_header('text/xml',FALSE);
    sys.htp.p('Content-Length: ' || length(l_XML));
    sys.owa_util.http_header_close;
    sys.htp.print(l_XML);
    end;
    Now my table has more than 900 rows and only when I specifically selected 25 rows of the table "ANEXO_COMPRAS" in the where ( AND K.ID BETWEEN 1 AND 25) the XML is generated.+
    I think that the problem may be the data type declared "varchar2", but I was trying with the data type "CLOB" and the error is the same.+
    declare
    l_XML CLOB;
    begin
    --Oculta XML
    sys.htp.init;
    wwv_flow.g_page_text_generated := true;
    wwv_flow.g_unrecoverable_error := true;
    --select XML
    select xmlElement
    from SRI_COMPRAS K
    WHERE K.ID IS NOT NULL
    AND K.ID_INFORMANTE_XML = J.ID_INFORMANTE
    ).getClobVal()
    into l_XML
    from ANEXO_INFORMANTE J
    where J.ID_INFORMANTE =:P3_MES
    and J.RUC =:P3_ID_RUC
    and J.ANIO =:P3_ANIO
    and J.MES =:P3_MES;
    --HTML
    sys.owa_util.mime_header('text/xml',FALSE);
    sys.htp.p('Content-Length: ' || length(l_XML));
    sys.owa_util.http_header_close;
    sys.htp.print(l_XML);
    end;
    The error generated is ORA-06502: PL/SQL: numeric or value error+_
    Please I need your help. I don`t know how to resolve this problem, how to use the data type "CLOB" for the XML can be generate+

    JohannaCevallos07 wrote:
    Now my table has more than 900 rows and only when I specifically selected 25 rows of the table "ANEXO_COMPRAS" in the where ( AND K.ID BETWEEN 1 AND 25) the XML is generated.+
    I think that the problem may be the data type declared "varchar2", but I was trying with the data type "CLOB" and the error is the same.+
    The error generated is ORA-06502: PL/SQL: numeric or value error+_
    Please I need your help. I don`t know how to resolve this problem, how to use the data type "CLOB" for the XML can be generate+The likeliest explanation for this is that length of the XML exceeds 32K, which is the maximum size that <tt>htp.p</tt> can output. A CLOB can store much more than this, so it's necessary to buffer the output as shown in +{message:id=4497571}+
    Help us to help you. When you have a problem include as much relevant information as possible upfront. This should include:
    <li>Full APEX version
    <li>Full DB/version/edition/host OS
    <li>Web server architecture (EPG, OHS or APEX listener/host OS)
    <li>Browser(s) and version(s) used
    <li>Theme
    <li>Template(s)
    <li>Region/item type(s) (making particular distinction as to whether a "report" is a standard report, an interactive report, or in fact an "updateable report" (i.e. a tabular form)
    And always post code wrapped in <tt>\...\</tt> tags, as described in the FAQ.
    Thanks

  • Is this possible with Boxes?

    Hi,
    I am currently using a Horizontal Box to group a JLabel, 3 JTextFields and a JButton in a row. (it is a date entry field, with a pop-up calendar that is activated by the button.)
    It looks exactly how I want it, EXCEPT that I need to make an exact replica of those objects, so the top fields will be used as a date search function FROM X date and the bottom fields will be the TO X date.
    However, I cannot find a way to move the "search TO date" fields one line down or below the "search FROM date" fields.
    Is this possible? Because right now my GUI looks rather silly with 10 objects horizontally spanning my screen.
    Thanks in advance.

    You will need to use multiple components.
    You probably want something like:
    Search from:
    Search to:
    [          ] [          ] [           ]It may be a good idea to use combo boxes with fixed
    values instead of textfields. If you use textfields,
    then you'll have to verify the input.I'm quite happy using textfields as I have already written two classes that verify the type of input and limit the amount of characters entered.
    So you'll have 4 components (1 for each horizontal
    row).
    Then you can create another box, but this time
    vertical:
    Box box = new Box(BoxLayout.Y_AXIS)
    and then add the 4 components to the box.I dont really understand this part.
    So, you are saying I should make 2 horizontal boxes and then put them in a vertical box?
    And what is that syntax? As far as I know, you create a box using:
    Box box  = Box.createVerticalBox();Thanks for the prompt reply.

  • PDF form with XML data connection comes up blank at run time

    Hello All,
    I am a newbie to ADOBE Livecycle 9, but am very proficient in C#.  I would like to request for your guidance on the following issue.
    We have a desktop application in C#, WPF, Sqlserver. The requirement is to launch a Livecycle form from the application for the user to read/edit/save data
    I have done this much so far -
    Downloaded trial version of Livecycle 9
    Developed a interactive PDf form
    Created an XML based data connection. Generated fields on the form using the fields from this connection.
    Set the .XML file as preview source for the form
    the controls on the form are boumd to the xml data source
    In design mode, the form works fine, it displays my data correctly
    I have created a WPF form with a button. On click of this button, I call the Process.Start(pdf-file-path). My pdf is launched properly
    I have added a combo box to my WPF form. I select a parameter from this, then call a stored procedure which returns me a datatable depending on parameter passed
    Using the returned datatable, I have used the datatable.writexml and datatable.writexmlschema to create my XML and XSD files. as mentioned above, this xsd is used to create the data connection for the PDF and the XML for the preview source
    This is what I want to do -
    Launch the PDF from my WPF form, pre-populated with the newly created XML data from my WPF form.
    So basically, as the user changes the selection criteria from the combo box, the XML file data will change and the PDF file will be launched each time with new data.
    The XSD format will always be constant
    Problem -
    My XML and XSD get created properly, my PDF launches, but it is empty
    If I change my selection criteria and run the WPF application, and then open the PDF in design mode, it asks me whether it should refresh the XML source. This means that the PDF form is connecting correctly to the XML source
    So why then, does the form come up empty at run time?
    What link am I missing?
    I have found some sites that help using Web applications, but nothing for desktop applications. It would be fantastic if you could point me to some help for developing Livecycle forms with C# / SQLServer
    Your help in this case will be highly appreciated.
    Thanks and Regards

    Oops, something happended with the above post. I will try again... I have tried your suggestion but I still get the same garbled XML (with data repeated and some values "cut in half".<br /><br />Here is what I get after decode-service and extract-to-XML-service. This is just the first barcode, the others are similar, sorry for the poor formatting, but I get a CDATA tage infront of the "istensen" value.<br />                                                              <br />CDATA:istensen</fld_ForMellemEfterNavn<br />><fld_VejNRpostByEnLinie<br />>Superroad 99, 1330 Supertown</fld_VejNRpostByEnLinie<br />><fld_PrivatTelefonnummer<br />>20724283</fld_PrivatTelefonnummer<br />></sub_Person<br />></sub_PktA<br />><fld_BlanketNr<br />>kb0371ff</fld_BlanketNr<br />><fld_BarcodeCount<br />/></form1<br />>/sub_Adresse<br />><sub_Person<br />><fld_ForMellemEfterNavn>Kim Christensen</fld_ForMellemEfterNavn<br />><fld_VejNRpostByEnLinie<br />> Superroad 99, 1330 Supertown </fld_VejNRpostByEnLinie<br />><fld_PrivatTelefonnummer<br />>20724283</fld_PrivatTelefonnummer<br />></sub_Person<br />></sub_PktA<br />><fld_BlanketNr<br />>kb0371ff</fld_BlanketNr<br />><fld_BarcodeCount<br />/></form1<br /><br />Obviously this is not a legal xml-string, so I can do nothing about it.<br /><br />I have tried using a custom .NET component (ClearImage) for reading the same form (with the barcode) I get the correct data out from the barcodes. So I guess something is wrong with the decode-service in Barcoded Forms ES when I use compressed XML. But I can conclude since the ClearImage component can read the barcodes that they are compressed correctly.<br /><br />Can you help me with getting further with this problem?<br /><br />Sincerely<br />Kim

  • Mapping with xml-schema XML-data to relational tables

    Hello,
    is it possible to map data from xml documents to relational tables with xml-schema?
    I mean not in nested tables but in relational tables with primary and foreign keys!
    With SQL Server 2005 it is very easy, I dont believe that Oracle couldn't do this!
    I searched but i cant find anything about that!
    Thx
    user445232

    indeed, oracle does this for xml schema based xmltype data, however, these underlying tables are not accessable to the application. Maybe It should for next version, so folks who like to use relational model can use it without mapping it manually.
    Actually, nested tables, are the same, their underlying tables (segments) are indeed relational tables, oracle manages them internally and not visiable to the application. You can find them in the user_segments, user_objects views though.

  • Oracle Reports with XML output showing data as asterik character

    Hello,
    I'm trying to create an Oracle report with xml output. Here is the issue I'm having some of the columns in my report are of datatype number. When I run the report and generate xml file the values for those columns(datatype number) are showing as (*) character, other columns are showing fine. But when I run the report as text output then data is fine. I don't understand why this is happening.
    The property of column is Column Type - Database Scalar, Datatype - Number , width 0,-127.
    Does the width has to do anything with this?
    I'm using Report Builder 6.0.8.11.3, DB version 10g.
    Can anyone please help me with the issue I'm having.
    Thanks

    If the links in your example report1 and report2
    follow my format stated earlier
    http://machine:port/reports/rwservlet/report=reportnam
    e.rdf&destype=cache& paramform=htmlcss&server=<YourReportSe
    rverName>&userid=scott/tiger@hrdb&desformat=pdf
    This is what I believe
    >
    so http://machine:port/ is the port where
    JBoss is running and
    This should be the port that the report server is listening on
    >
    server=<YourReportServerName> is the name of
    my oracle report server
    so I call the above link in my current application
    and the report would show up
    Yes
    >
    that means (correct me if I am wrong) that my reports
    would have to be deployed in OracleAS
    Yes
    >
    I have to try all this yet as till this point I was
    trying to run Oracle reports deployed in JBoss...
    This may be possible, I am not sure.
    >
    Oracle J2EE Thin Client?
    I am not sure what this is used for in your setup.

  • Populating dynamic values in the combobox with XML form Builder.

    I am trying to  populate dynamic value in the combobox with xml form builder. I  see the document saying create property group and document property Id with respecitive values.  I am able to create the property group with system admin -> System config
    -> KM -> CM -> Global services  -> property Metadata -> groups  with new button. and I  am trying to create document property Id with value. I am not able to find the way to give  value in the property.   I am using  EP 7.0 Sp 14.  Please let me know how to sovel it

    Hi
    You can create new property metadata with System Admin > System Config > KM > CM > Global services > Property Metadata > Properties > New. Specify the values for this metadata as the ones you need to have in the combo box. Use allowed values parameter of the matadata to sepcify the values. Each metadata property will have unique property ID and you can map this property ID to your combo box in xml forms.
    Give it a try.
    Regards,
    Yoga

  • Need help with XML structure

    Hello, I would like to create an extention that will help to
    manage a
    glossary.
    First I need to decide on the structure of the xml document
    that will
    contain all glossary entries. Since I don't have much
    experience with XML in
    extention content, I was wondering if there are certain
    recommendations I
    should follow.
    What is preferable: using attributes that will holt the
    content or rather
    having xml-elements. What is easy to parce?
    I would greatly appreciate any tips, help and suggestions.
    Olyalyu

    .oO(olga)
    >First I need to decide on the structure of the xml
    document that will
    >contain all glossary entries. Since I don't have much
    experience with XML in
    >extention content, I was wondering if there are certain
    recommendations I
    >should follow.
    I would start as simple as possible, for example with
    something like
    this:
    <glossary>
    <entry>
    <term>...</term>
    <explanation>...</explanation>
    </entry>
    <entry>
    <term>...</term>
    <explanation>...</explanation>
    </entry>
    </glossary>
    Of course it also depends on what you want to do with this
    structure and
    if you need additional informations.
    >What is preferable: using attributes that will holt the
    content or rather
    >having xml-elements. What is easy to parce?
    There's no real rule-of-thumb whether to use elements or
    attributes.
    If unsure, use elements.
    Micha

  • I need help with XML Gallery Fade in out transition. somebody please help me :(

    I need help with XML Gallery Fade in out transition. somebody please help me
    I have my post dont want to duplicate it

    The problem doesn't lie with your feed, although it does contain an error - you have given a non-existent sub-category. You need to stick to the categories and sub-categories listed here:
    http://www.apple.com/itunes/podcasts/specs.html#categories
    Subscribing to your feed from the iTunes Store page work as such, but the episodes throw up an error message. The problem lies with your episode media files: you are trying to stream them. Pasting the URL into a browser produces a download (where it should play the file) of a small file which does not play and in fact is a text file containing (in the case of ep.2) this:
    [Reference]
    Ref1=http://stream.riverratdoc.com/RiverratDoc/episode2.mp3?MSWMExt=.asf
    Ref2=http://70.33.177.247:80/RiverratDoc/episode2.mp3?MSWMExt=.asf
    You must provide a direct link to the actual mp3 file. Streaming won't work. The test is that if you paste the URL of the media file (as given in the feed) into the address bar of a browser it should play the file.

  • Help with XML - AS 3.0

    Hello everybody. I decided to start working with XML since it allows me to load assets externally and edit my applications later very easily without having to edit the fla file itself. So today I watched and read a few tutorials and now I'm trying to build an Event Scroll, all through XML and AS 3.0 code. Basically what I want is to have several events inside a movieclip which I will incorporate into a scroll pane when I'm done, for now I'll focus on extracting data from the XML file and parsing it with AS 3.0. The layout is simple: a thumbnail image on the left, and beside it on the right there is the title of the event, its date and some info about it and all of these should have a dark grey background while the text is in white. Each two events are 30 pixels apart and there are 5 events for now.
    Ok enough talking now let's get to the code:
    XML Code:
    <?xml version="1.0" encoding="utf-8"?>
    <EVENTSXML>
         <EVENT>
              <TITLE> Event 1</TITLE>
             <DATE>12/04/2009</DATE>
            <THUMB>thumb0.jpg</THUMB>
            <INFO> Some Text Goes Here </INFO>
        </EVENT>
         <EVENT>
               <TITLE>Event 2</TITLE>
             <DATE>03/02/2009</DATE>
            <THUMB>thumb1.jpg</THUMB>
            <INFO>Some Text Goes Here</INFO>
         </EVENT>
         <EVENT>
               <TITLE>Event 3</TITLE>
             <DATE>18/11/2008</DATE>
            <THUMB>thumb2.jpg</THUMB>
            <INFO>Some Text Goes Here</INFO>
         </EVENT>
         <EVENT>
               <TITLE>Event 4</TITLE>
             <DATE>10/09/2008</DATE>
            <THUMB>thumb3.jpg</THUMB>
            <INFO>Some Text Goes Here</INFO>
         </EVENT>
         <EVENT>
               <TITLE>Event 5</TITLE>
             <DATE>06/08/2008</DATE>
            <THUMB>thumb4.jpg</THUMB>
            <INFO>Some Text Goes Here</INFO>
         </EVENT>
    </EVENTSXML>
    Actionscript 3.0 Code:
    var myXML:XML;
    var req:URLRequest = new URLRequest("events.xml");
    var ldr:URLLoader = new URLLoader();
    ldr.load(req);
    ldr.contentLoaderInfo.addEventListener(Event.COMPLETE, processXML);
    function processXML(e:Event):void
         myXML = new XML(e.target.data);
         buildEvents(myXML.EVENT);
    var eventScroll:MovieClip = new MovieClip();
    var padding:Number = 30;
    this.addChild(eventScroll);
    eventScroll.x = eventScroll.y = padding;
    function buildEvents(evnts:XMLList):void
         for(var i:uint = 0; i <evnts.length(); i++) {
              var eventData:MovieClip = new MovieClip();
              eventData.y = (20 + padding) * i;
              eventData.itemNum = i;
              eventData.title = evnts[i].TITLE;
              eventData.date = evnts[i].DATE;
              eventData.thumb = evnts[i].THUMB;
              eventData.info = evnts[i].INFO;
              // thumb container
              thisThumb:Sprite = new Sprite();
              var ldr:Loader = new Loader()
              var req:URLRequest = new URLRequest(eventData.thumb);
              ldr.load(req);
              thisThumb.addChild(ldr);
              eventData.addChild(thisThumb);
              eventScroll.addChild(eventData);
    now I am stuck there... the application is not done yet and when I publish the file I keep getting errors, these are the errors:
    1067: Implicit coercion of a value of type flash.display:Sprite to an unrelated type Class.
    Source: thisThumb:Sprite = new Sprite();
    1188: Illegal assignment to class Sprite.
    Source: thisThumb:Sprite = new Sprite();
    1120: Access of undefined property thisThumb.
    Source: thisThumb.addChild(ldr);
    1120: Access of undefined property thisThumb.
    Source: eventData.addChild(thisThumb);
    1119: Access of possibly undefined property contentLoaderInfo through a reference with static type flash.net:URLLoader.
    Source: ldr.contentLoaderInfo.addEventListener(Event.COMPLETE, processXML);
    So where did I go wrong and how can I carry on with my code to finish my application?
    P.S: I do not want someone to do it for me, so in case someone decided to help me out, please comment and explain your code because this application is for learning porpuses in the first place... Thanks in advance!

    oh I've just noticed one little problem, in my info field, the text doesn't break and start a new line, it just keeps going horizontally although I've set it to multiline and gave it a width and height... so what shall I do to fix this problem? here's the code:
    var infoF:TextField = new TextField();
              infoF.text = eventData.info;
              infoF.x = 250;
              infoF.y = dateF.y + padding;
              infoF.multiline = true;
              infoF.width = 200;
              infoF.height = 100;
              addChild(infoF);

  • Issue with XML encoding

    Hi,
    I am querying an SAP instance for data, and I am getting back the data in an XML document...to which I need apply XSL transformation.
    The instance is an German one... so I am getting a few strange characters because of which, the parser is uanble to apply the transformation.
    I wrote a small java program to get more info on this particular character causing the problem, it turns out to be an ISOControl character. The properties (got by using the Character class API) are as below.
    1. Character 1:
    The getDirectionality is:0
    The getNumericValue is:21
    The getType is:2
    The isDefined is:true
    The isISOControl is:false
    The isMirrored is:false
    The isSpaceChar is:false
    The isUnicodeIdentifierPart is:true
    The isUnicodeIdentifierStart is:true
    The isWhitespace is:false
    2. character 2:
    The getDirectionality is:9
    The getNumericValue is:-1
    The getType is:15
    The isDefined is:true
    The isISOControl is:true
    The isMirrored is:false
    The isSpaceChar is:false
    The isUnicodeIdentifierPart is:true
    The isUnicodeIdentifierStart is:false
    The isWhitespace is:false
    These characters appear to be white space in normal text editors...
    This is how I am applying the transformation
    TransformerFactory tFactory = TransformerFactory.newInstance();
    Transformer transformer =
    tFactory.newTransformer(
    new javax.xml.transform.stream.StreamSource
    (XSLURI)
    StringReader sr = new StringReader(xmlToApply);
    StringWriter sw = new StringWriter();
    transformer.transform(
    new javax.xml.transform.stream.StreamSource(sr),
    new javax.xml.transform.stream.StreamResult(sw)
    return sw.toString();
    I have tried to use "UTF-8", "ISO-8859-1" and other encodings, but in vain. Appreciate any pointers on this...

    Also the postings are from 2 different perspectives... this is to address the issue that I am facing with XML parsing and how to eliminate that using XML apis...
    My other posting about a possible work around (encoding) for the problem creating string...

  • How to fill combo box with list of all SQL server

    Ok, I know how to find all SQL servers that I need, I have code for that task, and I have Array of all servers.
    My problem is ...
    I made setup project and do a huge work, and in the end this task appear!
    I used ORCA tool to change TextBox (A) template in visual studio (2008 by the way), and I transform first TextBox to ComboBox.
    Now, the little part that I'am missing is how to fill this combo box with a result of my function for listin SQL servers?
    Can I somehow send combobox object to myMethod:
    private void FillCombo(ComboBox cmb)
          // do the job
    or
    instanceOfThisCombo.Items.Add(listOfSQLServers);
    please help me to solve this... thanksc#

    Hi Valerij,
    The ComboBox control in an MSI dialog uses the ComboBox table to populate the items in it. To get what you want, you need to update the ComboBox table in the MSI package with your application and run the MSI package. The following KB article describes how to dynamically populate a ListBox control in Windows Installer:
    http://support.microsoft.com/kb/291329
    This method introduced in the above KB article also applies to populating a ComboBox control in Windows Installer.
    I don't think it's possible to run the application as a Custom Action from within the MSI package because the application will modify the content of the MSI package which is currently running. So you need to launch the MSI package from within your application after updating the ComboBox table. In short, when installing, just run your application which updates the ComboBox table and install the MSI package.
    Hope this helps.
    If you have any question, please feel free to let me know.
    Sincerely,
    Linda Liu

  • Generating layout with xml

    Hi,
    I want to make a graphical user interface with xml.
    Is that possible?
    For example:
    <?xml version="1.0" encoding="UTF-8" ?>
    <JMenubar>
    <JMenu name="Program">
    <JMenuItem name="Connect" method="Connect()" />
    </JMenu>
    </JMenubar>
    I automatically want to create these menu.
    But this xml could be more extended, and then the layout must also made automatically.
    The problem is, that you don't know how many JMenu's en JMenuItems there are.
    Anyone has an idea how to work with this?

    One way to do this is just to use XMLEncode & XMLDecode, so a nice example for you, to run this, first
    java Test -c test.xml
    It will ask some questions, fill 'em in.
    then
    java Test -l test.xml
    and it'll create a frame based on the XML file created by step one.
    import java.beans.*;
    import javax.swing.*;
    import java.io.*;
    class Test {
        public static void main(String argv[] ) throws Throwable{
         String file = "default.xml";
         JFrame frame;
         if( argv.length > 1 && argv[1] != null ) {
             file = argv[1];
         if( argv[0] != null && argv[0].equals( "-l" ) ) {
                    XMLDecoder d = new XMLDecoder
                     ( new BufferedInputStream
                    ( new FileInputStream( file ) ) );
                 frame = ( JFrame ) d.readObject();
                 frame.pack();
                 frame.show();
                 return;
         if( argv[0] != null && argv[0].equals( "-c" ) ) {
             System.out.println( "Frames Title:" );
             BufferedReader in = new BufferedReader
                ( new InputStreamReader ( System.in ) );
             String title = in.readLine();
             frame = new JFrame( title );
             frame.setDefaultCloseOperation( frame.EXIT_ON_CLOSE );
             System.out.println( "utton or [L]abel" );     
         String bOrl = in.readLine();
         System.out.println( "Objects Title: " );     
         title = in.readLine();
         bOrl = bOrl.toUpperCase();
         JComponent obj;
         if( bOrl.startsWith( "B" ) ) {
              obj = new JButton( title );
         } else {
              obj = new JLabel( title );
         frame.getContentPane().add( obj );
         System.out.println( "Number Of Menus" );
         String noS = in.readLine();
         int no = Integer.parseInt( noS );
         JMenuBar bobTheMenu = new JMenuBar();
         JMenu menu = new JMenu( "File" );
         bobTheMenu.add( menu );
         frame.setJMenuBar( bobTheMenu );
         for(int counter = 0; counter < no; counter++ ) {
              System.out.println( "MenuItem " + counter + " title: " );
              title = in.readLine();
              menu.add( new JMenuItem( title ) );
         System.out.println( "Saving" );
         XMLEncoder e = new XMLEncoder
         ( new BufferedOutputStream
         ( new FileOutputStream( file )));
         e.writeObject( frame );
         e.close();

  • HTTP POST Request with XML file in

    Hi @ all,
    I would like to send an HTTP Request with an XML File in the body to an SAP System
    I have the target URL and the a XML File.
    Now the question is. Is it possible to use something like the HTTP_POST FuBa to send an url post request with an xml file?
    If yes can anybody give me a hint?
    I have a php script which exactly do this coding. But to integrate it all in one system it is necessary to transform it into ABAP and call it there.
    // compose url and request and call send function
    function test($productID, $categoryID) {
         // create url
         $PIhost = "XXX.wdf.sap.corp";
         $PIport = "50080";
         $PIurl = "/sap/xi/adapter_plain";
         $PIurl .= "?sap-client=800";
         $PIurl .= "&service=XXX";
         $PIurl .= "&namespace=XXX";
         $PIurl .= "&interface=Frontend_Interface";
         $PIurl .= "&qos=EO";
         $PIurl .= "&sap-user=XXX";
         $PIurl .= "&sap-password=XXX";
         // create xml
         $request = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n";
         $request .="<n1:FrontendInbound_MessageType xmlns:n1=\"http://crmpiebay.com\">\n";
         $request .= "\t<FrontendInbound>\n";
         $request .= "\t\t<ProductName/>\n";
         $request .= "\t\t<ProductCategory>".$categoryID."</ProductCategory>\n";
         $request .= "\t\t<ProductID>".$productID."</ProductID>\n";
         $request .= "\t\t<MessageID/>\n";
         $request .= "\t</FrontendInbound>\n";
         $request .= "</n1:FrontendInbound_MessageType>";
         // send http request
         postToHost($PIhost, $PIport, $PIurl, $_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"]."/".$_SERVER["PHP_SELF"], $request);
    // send post request to PI server
    function postToHost($host, $port, $path, $referer, $data_to_send) {
      $fp = fsockopen($host, $port);
      if($fp) {
           $res="";
           fputs($fp, "POST $path HTTP/1.1\r\n");
           fputs($fp, "Host: $host\r\n");
           fputs($fp, "Referer: $referer\r\n");
           fputs($fp, "Content-type: text/plain\r\n");
           fputs($fp, "Content-length: ". strlen($data_to_send) ."\r\n");
           fputs($fp, "Connection: close\r\n\r\n");
           fputs($fp, $data_to_send);
           while(!feof($fp)) {
               $res .= fgets($fp, 128);
           fclose($fp);
           return $res;
    Would be great if anybody could give me a hint how to solve such a HTTP Post request with XML body data.
    Thanks in advance.
    Chris
    Edited by: Christian Kuehne on Feb 26, 2009 4:32 PM

    hi friend could you please share your solution regarding this query if u got it already?

Maybe you are looking for

  • Name and city not defined in FB60 for one time account

    Hello Guru's , We are on SAP ECC 6.0 and I have defined a one time vendor in the standard account group CPD One-time vend.(int.no.assgnmt). In the screen layout for that account group I have the address details for name1 and postal code, city defined

  • How to authenticate BPEL process to a PL with Client SSL Cerificate

    Hi, I need to invoke a partner link which requires authentication with Client SSL certificate. So, here is the use case: - The PL's endpoint is https://some.server.com/web_service; - I have a client SSL certificate supplied by the web service provide

  • What is wrong with Flashplayer!

    Please Help Me,I don't know why this is happening but everytime i go to a website that uses flashplayer it says my flash player is outdated and need to upgrade,I have uninstalled and reinstalled so many times I really am getting so frustrated with th

  • Inter company sales order

    All, We have created an I/C sales document type ZIRS.  When I looked at the material document that we used on this order We have a problem with the material not assigned to the sales document.  However, when I looked at the billing document that is a

  • Can my Ipad 3 have a battery replacement outside the country?

    My Ipad 3 has a battery weared. It turns off when the battery drops to 80%. I plan go to Apple Store to have a battery replacement. But i purchased my Ipad in US and now I am in France. Is it possible to have this kind of replacement? P/S: My Ipad is