Complex Element with Mixed Content problem!!!!1

Hi All,
I have a scenario where complex XSD element has mixed content.i.e  it has text and elements. How to deal with it in XI.When i create any complex type in XI i cannot add text to it,i will be able to add only elements enclosed by that complex node. Any ideas on how to get across in Graphical Mapping.
Regards,
Sudharshan.
Message was edited by: Sudharshan Aravamudan

Hi Sudharshan,
I dont think it is possible to create such elements in XI. As far as i know a complex element can only contain more nodes of varying occurences, but not some information of it self.
Just check out these links,
http://help.sap.com/saphelp_nw04/helpdata/en/3b/d2a3f7a166514abb8cf5635b71974f/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/2d/c7d9b2d9f138439482a8fafb91f047/content.htm
I guess the format you are trying to create is actaually something that XI doesnt support.
Do let me know if you got further queries,
hope this helps,
regards,
Bhavesh

Similar Messages

  • Working with mixed-content XML

    Am new to Flex 2 and AS 3 but well versed in XML and related
    technologies. This is my first time posting to the forum.
    I have a simple Flex application that loads an external XML
    file via HTTPService and binds the XML to some MXML form controls.
    This works well as long as the XML element contains simple text,
    but breaks when the element contains a mixture of text and other
    elements (e.g. mixed-content).
    <something>some text</something> (Fine)
    <something>some <b>bold</b>
    text</something> (Breaks).
    Just wondering if anyone has could point me to an example of
    a Flex application interpreting mixed content XML. I've looked at
    various forums and in books and there isn't a lot on the subject
    from what I can see. Most of the XML examples I've found use flat,
    database/table-style XML which don't suit my purposes.
    Thanks
    Heather

    Let's not give up here. The problem is that you have HTML
    inside of an XML structure and the HTML, because its syntax is just
    like XML, cannot be distinguished by the XML parser. The proper way
    to get your HTML embedded in the XML is to use CDATA. So whoever
    created the XML didn't take that into account.
    I gave this a bit more thought. This will work ONLY if the
    HTML inside of the XML is always complete. No <br> tags
    without a </br>; no <p> without </p> etc. as that
    won't be readable by the XML parser.
    Once you've got your XML structure in Flex, you can get all
    of the <something> items like this:
    var somethings:XMLList = xmlvar.something;
    Now you have an XMLList - an Array of XML structures. This
    means somethings[0] is "some text" but somethings[1] is an XML node
    with a sub-structure which includes the <b> node. I hope you
    are withme so far.
    Now try this: var sometext:String = XML( somethings[1]
    ).toString();
    The toString() method should flatten the contents back into a
    string and you can assign that to the htmlText property of the
    control.
    As I said, your XML has to be perfect for this to work. Or
    you have to convince the author(s) of the XML to use CDATA to
    enclose the HTML.

  • Firefox Security Certificate reports mixed content on secure page: Production & Nightly

    Hi Firefox,
    I’ve been doing some searching but have been unable to find this issue being discussed in a similar case.
    We (the University of Toronto) are running Microsoft’s Office365 service to provide email to our students. The security issue presents itself after several seconds after the OWA page loads and occurs regardless of user activity on the page.
    Initially, as the page loads, the browser indicates that the site is secure. Shortly thereafter the browser indicates that there are insecure elements on the page. However, from our diagnostics (Firefox developer tools, Firebug, Wireshark) we cannot identify any non-encrypted traffic. We have contacted Microsoft support and they have assured us that our connections to their servers are secure.
    The issue presents shortly after loading the inbox view of OWA. Initially the page is shown as being secure:
    [Figure1: page secure notice] [Figure2: Security details when secure]
    However shortly after the page loads, with no user action, the indicator will change to show the page has security issues.
    [Figure 3: Mixed content warning] [Figure 4: Security Details]
    The indication is that there is a problem with mixed content. The certificate is unchanged.
    [Figure 5: Certificate Details]
    The problem has been reproduced as of May 6, 2014 on a fully patched version of Windows 8.1 running a clean install of nightly; on a fully patched Windows 7 running a clean install of production Firefox 29.0; and on OSX 10.9.2 on a factory reset re-install of production 29.0.
    I’m wondering if anyone can shed any light on this behavior and advise a path to incorporate corrective action into subsequent releases of Firefox?
    Thanks in advance,
    Luke

    Plenty of things show, however the page is still shown as secure after all activity stops in the console the page is still secure.
    These are the last for console events:
    POST https://pod51030.outlook.com/owa/service.svc [HTTP/1.1 200 OK 160ms]
    POST https://pod51030.outlook.com/owa/service.svc [HTTP/1.1 200 OK 200ms]
    POST https://pod51030.outlook.com/owa/service.svc [HTTP/1.1 200 OK 160ms]
    POST https://pod51030.outlook.com/owa/service.svc [HTTP/1.1 200 OK 1072ms]
    a few seconds later is when the warning indicator appears. There is no console event around this time.

  • Mixed content on DVD, accessible from menus?

    Hi there,
    Is it possible to create a DVD with mixed content (video, audio, photos) which can be read by a DVD player, not just a computer? I'm not talking about putting on the ROM part of the disk, but accessible from the menus. I am trying to make a DVD which, in addition to video, has my own music (audio only) tracks, but DVD Studio Pro 4 seems to assume that audio will be attached to video, or else will be the background music to a menu. As well as video and slideshow titles, I want to put a list of music only and narrative only titles on the DVD, which the user could choose in the same way as choosing a video or slideshow. It must be playable on a DVD player, not just the computer. Any ideas?

    DSP wants to see some sort of video in a track. You could just add black for the length of the audio but if you are tight on space this may not be the best option.
    One option:
    Create a black still at 720x480 and put that as the first slide in a slide show.
    Add your audio and now the slide show and/or that particular slide will be the length of the audio you added. Make sure all of your elements and project are in the same folder. DSP will create MPG media for the slide shows and that will be referenced on the build.
    I would also convert all of your audio to AC3 files with the setting in Compressor that can be found in any of the DVD preset folders.

  • Issue with working on a webservice that has  xml elements with attributes

    This is  a branchout of Thread: Some more complex sample of invokin WS needed_
    We are working on a project that involves a outbound SALT Web service call that includes complex elements with attributes..We are looking for options of how to use FML API's to pass these attribute values from the application code.
    We opened a ticket with oracle where we were suggested to frame the entire xml and pass the xml using the FML32 of the complex element. But when we framed the xml for Service and put the entire XML which includes the attributes using the FML ID of Service.
    Please find a sample Schema and XML similar to the one we are working on...its associated code
    <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
         <xs:element name="Service" type="Service_Type" nillable="true">
              <xs:annotation>
                   <xs:documentation>Comment describing your root element</xs:documentation>
              </xs:annotation>
         </xs:element>
         <xs:complexType name="Service_Type">
              <xs:sequence>
                   <xs:element name="DateTime" type="xs:dateTime" nillable="true">
                   </xs:element>
                   <xs:element name="UUID" nillable="true">
                   </xs:element>
                   <xs:element name="Status" type="xs:string" nillable="true" minOccurs="0" maxOccurs="unbounded">
                   </xs:element>
              </xs:sequence>
              <xs:attribute name="Version" type="xs:string" use="required">
              </xs:attribute>
              <xs:attribute name="Name" type="xs:string" use="required">
              </xs:attribute>
         </xs:complexType>
    </xs:schema>
    The sample XML is :
    ___<?xml version="1.0" encoding="UTF-8"?>___
    ___<!--Sample XML file generated by XMLSpy v2010 rel. 2 (http://www.altova.com)-->___
    ___<Service Name="TestService" Version="1.1" xsi:noNamespaceSchemaLocation="Untitled6.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">___
    ___     <DateTime>2001-12-17T09:30:47Z</DateTime>___
    ___     <UUID>text</UUID>___
    ___</Service>___
    wsdlcvt generated the mif file with Service as a FML32 type and all its child elements as "mbstring". We tried to leave as it is and we also tried to replace all the child elements and just had a mif entry for "Service" as a mbstring neither produced a different output...Tried to dump using Ferror32 which did not dump any..._
    The sample C/C++ code as per suggestions were to do the following...
    _1) Have a string with the entire XML for Service_
    xmldata="<Service Name=\"TestService"\ Version="1.1\"_ xsi:noNamespaceSchemaLocation=\"Untitled6.xsd\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">_
    _     <DateTime>2001-12-17T09:30:47Z</DateTime>_
    _     <UUID>text</UUID>_
    _</Service>";_
    _2) Use Fmbpack32 to create a mbstring data_
    _memcpy(reqmbptr, (char*)xmldata.data(),xmldata.length());_
    _len=xmldata.length();_
    _Fmbpack32(mbcodeName,reqmbptr,len, packdata,(FLDLEN32 *)&packedlen,0);_
    userlog("Size of packedlen is %d",packedlen);
    3) Add the packed data to the output buffer
    Fadd32(fmlbuffer,Service, packdata,packedlen );
    But we do not see the Service tag populated in the GWWS outbound request.Everything else makes it....any help on how to move ahead would be appreciated...

    It seems you switch to the 10gR3 GA and now the whole XML data is mapped to FLD_MBSTRING.
    I will forward my sample to you by mail, but this sample is not offical sample, it is just QA test case. You can refere it and check what's the difference.
    Please let me know your mail address.
    Regards,
    Xu he

  • Firefox 23 and mixed content

    The Firefox 23 release notes claim that mixed content pages are now blocked. The Mozilla Messaging Forum for Thunderbird support has mixed content, but it is not blocked. Why say that sites with mixed content are blocked if they are not? The URL:
    http://getsatisfaction.com/mozilla_messaging/topics

    Firefox has two prefs to control mixed content.
    *security.mixed_content.block_active_content
    *security.mixed_content.block_display_content
    Only block_active_content is currently set to true by default. block_display_content is still false, so thing like images aren't blocked.
    *Web Console (Firefox/Tools > Web Developer;Ctrl+Shift+K)
    *https://developer.mozilla.org/en/Security/MixedContent
    *http://kb.mozillazine.org/about:config
    <pre><nowiki>Blocked loading mixed display content "http://www.mozilla.org/thunderbird/img/tb5/page-background.png" @ https://getsatisfaction.com/mozilla_messaging/topics
    Blocked loading mixed display content "http://www.mozilla.org/thunderbird/img/tb5/title.png" @ https://getsatisfaction.com/mozilla_messaging/topics
    Blocked loading mixed display content "http://mozilla.org/img/covehead/template/title.png" @ https://getsatisfaction.com/mozilla_messaging/topics</nowiki></pre>

  • Mail Problem with multipart/mixed Content, "empty mails" via IMAP

    I do need some help.
    Here is my setup. I have a OSX Mountain Lion Server with the mail service running. fetchmail is collecting mail from a pop account. I have two Mac clients - one with Outlook for Mac, one with Apple Mail,
    Everything is fine exept...
    ... if I receive a mail from an Exchange Server with a PNG-Image in the signature (e.g. a company logo) then...
    ... this mail will be displayed as an empty mail. Correctly spoken, the mail header is there, but the mail body ist not shown. The body is there - I can see it if I swich to the raw view in mail.
    So I tried to figure out what the reason might be. I also tried several ideas from other discussions here - without success.
    This error is concerning only mails with the Content-Type: multipart / mixed - coming from Exchange Servers. The mail body is not displayed. It seems to be that something is corupptung the IMAP Envelope of these mails.
    - Is it a security problem?
    - Is it a filtering problem?
    - Is it a settings problem in Apple Mail and Outlook for Mac?
    - Is it a settings problem in fetchmail?
    I don't know... I think it is a settings problem in the main.cf - but I don't know what to do.
    Can anybody help???
    Kind regards,
    Robert.

    Problem solved!
    It was a bug in fetchmail. Try out the version 6.3.26. You have to compile fetchmail yourself... it is not a great thing. And everything is working.
    http://developer.berlios.de/project/shownotes.php?group_id=1824&release_id=19356
    Robert

  • Text element with line item content and include text

    Hi All,
    How to write in smartform in single text element with line item content and include text.I am using this text element in table . Pls help me out. i am writing the include command in text element ,but this command is not enough for single line of text editor.
    thanks ,
    Rakesh singh

    I have been pulling my hair out for a few days trying to find
    this solution. This fixed my problems as well.
    I was getting ready to scrap the Report Builder altogether
    and move to SQL Server Reporting Services over this issue.
    I'm running 7.0.2 also, that version alone fixed many small
    issues like creating borders and such.
    Thanks

  • Why is adobe premier elements 12 the worst version yet and with no content unless you go online

    I even had adobe chat guy online and take control of my pc and after about 2 hours of trying all he could say was i could cut n paste content from my adobe elements 10 into 12 then he hung up what good is it buying 12 if I have to use 10 to use 12 this is not the first case of problems with premier elements and downloading content even with version 10 coming with contents disk still wouldn't load for me this and other problems with crashes even running a very high spec pc . I wouldn't recommend premier elements to anyone at the moment and am seriously thinking of alternative software am looking now unless adobe can exsplain my problems ,ps dont even bother trying to use HD in it either

    greg
    What edition of Windows is your Premiere Elements 10 or 12 running on?
    Yes, you can copy/paste insert between Premiere Elements project when you use the 3rd party software ClipMate is conjunction with Premiere Elements.
    The version specific information is found in my blog post
    ATR Premiere Elements Troubleshooting: PE: ClipMate Copy/Paste Between Projects
    Premiere Elements 10 should do a complete job of it. Premiere Elements 12 fares well with the technique except that the transitions in project 1 do not copy/paste along with the rest during the task. But, the copy/paste insert is nothing new to Premiere Elements 12; consequently this should not be a surprise to you since you have used  10.
    The Content for versions later than 10 is online download only; whereas, Premiere Elements 10 offers online content if you purchased the program as a download and Content disc if you purchased the boxed packaging of the product. You can read the details if you have not already.
    http://www.atr935.blogspot.com/2013/05/pe11-no-content-disc-content-downloads.html
    ATR Premiere Elements Troubleshooting: PE 7, 8, 9,10: Content Download
    If you got stuck with Content download in Premiere Elements 10, that was your choice since a Content disc was available for 10 when you purchased the boxed packaging of the product.  I much prefer the Content disc but I had no choice other than Content download for 11 and 12 even though I purchased boxed packaging. And, If you could not load Content from a version 10 Content disc, you have more problems that just the Content download and the Copy/Paste Insert matter.
    If you want user to user troubleshooting help with Premiere Elements 10 or 12 and are willing to get involved in 10 and/or 12 troubleshooting of your core problems, then please let us begin the exchange of information.
    Thank you.
    ATR

  • Https site with no mixed content and EV cert is shown as mixed and not identifiying itself

    My site https:orderform page contains only https images and website has an EV cert that is valid and current. With history cleared and visiting page for first time Firefox reports that page contains mixed content and that site does not identify iteself.
    Hitting F5 to refresh the page address bar correctly shows green with no mixed content popup and that side idenfies itself.
    SSLCertificateChainFile has been added and this makes no difference.
    Problem does not occur in other browsers (IE, Safari, Chrome).
    A new FF profile has been tried but same problem occurs.
    Why would refeshing the page work?
    Problem affects all firefox browsers 3.5 to 14.01. I dont know about those <3.5.
    I have read and tried most suggestions in forum and elsewhere but cant find a solution.
    I have not provided the url as this is my order page and its important for me to see genuine visitors.

    First a reply to Jsher2000
    Thank you for your suggestions. Yes and Yes did this ages ago but no non-https content.
    I have found a workaround for what appears to be a bug in Firefox:-(
    Here is the non-perfect workaround. First Detect firefox
    xUA=navigator.userAgent.toLowerCase()
    xFf=xUA.indexOf('firefox')!=-1
    if(xFf) top.location.href='https://ord.html'
    else top.location.replace( 'https://ord.html' )
    The current non-secure page is being replaced with a secure one.
    Internet Quote:
    "The difference between location.href and location.replace is that the former creates a new history entry on the visitor's browser meaning that if they hit the back button, they can get in a 'redirection loop' which is usually undesirable and may have unwanted side effects."
    It appears that FF is using some content (cached) from the previous non-secure page when replacing - leading to the mixed content and non-identified site. An F5 refresh or reload of current page will show that site identifies iteself and there is no mixed content.
    In summary its a Firefox Bug.

  • Drawing problems in Minefield interface elements and page content

    Some sort of graphic related problem with Minefield nightly builds.
    I'm not an expert, but it looks like the problem is with semi transparent pixel drawing. Might this be related with graphics hardware?
    Here is the screenshot, how it looks:
    http://img148.imageshack.us/img148/2536/ffinterface1.png
    In the picture the problem is well seen on the TAB headers and vertical line with a pattern in a page illustrates the problem in displaying transparent elements in page content.
    When interactive interface elements are mouseovered (paticularly "close tab" buton), the distortion around changes.

    Try the Builds forum over at MozillaZine, that's where all the "testers" hang out.
    http://forums.mozillazine.org/viewforum.php?f=23

  • PHDS - problem with the content license

    Hi, I have just enabled the basic phds settings in my httpd.conf (ie not the PHDSCommonKeyFile / PHDSPlaybackExpiration / PHDSOutputProtection / PHDSVideoEncryptionLevel) settings:
    <IfModule jithttp_module>
      <Location /hds-vod>
        HttpStreamingJITPEnabled true
        JitFmsDirPath ".."
        HttpStreamingContentPath "/full/location/to/content"
        HttpStreamingJITConfAllowed false
        EncryptionScope server
        ProtectionScheme phds
        Options -Indexes FollowSymLinks
      </Location>
    </IfModule>
    And whilst when hitting the video_bitrate.mp4.f4m file i get the expected xml back with the drmAdditionalHeader element, when I view it in the adobe multibitrate hds player i get the error "There was a problem with the content license., plesae contact your video service provider" - has anyone seen this before?
    Thanks

    Hi, the "adobe multibitrate hds player" is the one you see on the http://server:8134 home page.
    I installed 4.5.3 from scratch and left all the defaults with the exception of EncryptionScope server  & ProtectionScheme phds - the http error log showed the below when visiting http://server:8134 - [Mon Oct 01 08:34:18 2012] [debug] mod_headers.c(756): headers: ap_headers_output_filter()
    The player does say in the bottom right "This video content is DRM protected" and the crossdomain.xml exists and looks like:
    <cross-domain-policy>
    <allow-access-from domain="*"/><site-control permitted-cross-domain-policies="master-only"/>
    </cross-domain-policy>

  • Revising mixed content with dom4j

    Hi,
    I have a tagging structure of mixed content like this:
    <old-element/>[<it>here is some text</it>] and I want to change it to
    <new-element>[<it>here is some text</it>]</new-element>I'm using for dom4j, and I'm selecting the nodes like
    List nodes = doc.selectNodes("//old-element")then looping through each node, I pick up the brackets as a following text node, then the <it> as a following node.
    just wondering if anyone else had a good solution to this problem.
    thanks,
    bp

    Successful OCR depends upon the quality of the scan. A nice 300 dpi tiff file has a good chance of being OCRd by any half-decent OCR program. Acrobat when it imports a 300 dpi tiff will be able to OCR if the quality is good. Take the same tiff file and convert it to a jpg and all bets are off. jpf is a lossy format. It is designed for photographs not line graphics or text. Upon conversion to jpg many of the edges of the lines/boundaries of the letters will be come fuzzy. It is the boundaries of the characters an OCR program uses to figure out the which letter is which. Hence, the jpg will not easily be OCRd. Its not impossible, but it is a much harder job.

  • Document Creation error - "We're sorry. We can't open document name because we found a problem with its contents"

    Morning Friends,
    I have created a SharePoint 2010 "Site Workflow" that is designed to take information from a form and create a Word doc with the gathered information and store this Word doc in a document library.
    I am using Sharepoint 2013 with Office 2013 
    I understand there are a lot of steps (19) outlined below and I can provide more information as needed but the bottom line is this, workflow successfully takes info from an initiation form, uses the info to create a Word doc. Places this Word doc in a library.
    When attempting to open / edit doc, receive error
    "We're sorry. We can't open <document name> because we found a problem with its contents"
    Details - No error detail available.
    Any info or advice would be greatly appreciated. 
    Very high level view of what I have done:
    1 - Created content type called "Letters"
    2 - Added site columns " First Name" and "Last Name"
    3 -  Created and saved to my desktop a very basic Word document (Letter.docx) that says "Hello, my name is XXXX XXXX"
    4 - In the advanced settings of the "Letters" content type I uploaded this "Letter.docx" file as the new document template.
    5 - Created a new document library called "Letters"
    6 - In Library Settings - Advanced Settings, clicked "Yes" to enable the management of content types.
    7 - Then I clicked "Add from existing content types" and added the "Letters" content type
    8 - Back in the advanced settings of the "Letters" content type I selected "Edit Template" and replaced the first XXXX with the Quick Part "First Name" and the second XXXX with the Quick part "Last Name"
    9 - Created a new 2010 Site workflow called "Create a Letter"
    10 - To the workflow I added the action "Create List Item"
    11 - Configured the action to create Content Type ID "Letters" in the document library "Letter" 
    12 - For the "Path and Name" I gave it a basic name of "Letter to"
    13 - The next step was to create the Initiation Form Parameters and added to form entries "First Name" and "Last Name"
    14 - I then linked the initiation form fields to the data source "Workflow Variables and Parameters" to their respective Field from Source parameters
    15 - Went back to the "Path and Name" and modified the basic name of "Letter to" to include the first and last name parameters.
    16 - Saved - published and ran the work flow.
    17 - As expected, Initiation Form prompts for First and Last Name. ("John Doe") Then click "start
    18 - Go to document library "Letters" and see a new Word document created titles "Letter to John Doe" 
    19 - Go to open / edit the Word document and receive the following error
    thoughts? Any info or advice would be greatly appreciated. 

    See this MS support article for SP2010 workflows and generating Word docs:
    https://support.microsoft.com/kb/2889634/en-us?wa=wsignin1.0
    "This behavior is by design. The Create
    List Item action in the SharePoint
    2010 Workflow platform can't convert Word content type file templates to the correct .docx format."
    I've had success in using SP 2013, Word 2013 (saving a .docx as the template instead of .dotx for the document library content type), and an SP 2010 workflow using SP Designer 2013.

  • Error message in .docx : 'Open XML file cannot be opened because there are problems with the contents. Details Unspecific error Location: 2'

    I have put a lot of work into a docx document on my Mac, but now can't open it as it gives the error message: 'the Open XML file cannot be opened because there are problems with the contents. Details, Unspecific
    error, Location: 2'
    When opening the original file the message said: 'this file contains word 2007 for Windows equations' etc. but I managed to track changes fine, and saved, closed and re-opened it numerous times without problem. Some graphs seemed moved, and various formulas
    were illegible, but no other weirdness was observed.
    I have microsoft 2008 installed on my Mac OS X version 10.6.8.
    I've tried to fix it using various solutions suggested here, but am afraid am too IT illiterate to have had any luck, please help I'm new to all this!
    I've uploaded it to https://www.dropbox.com/s/hkw9k6lyihzoxpc/SittwayPauktawSQUEACREPORT_KD%2BCH.docx

    Hi,
    This issue is related strictly to oMath tags and occurs when a graphical object or text box is anchored to the same paragraph that contains the equation.
    Please use the "Fix it" tool in the following KB article to resolve the problem. See:
    http://support.microsoft.com/kb/2528942
    Hope this helps.
    Regards,
    Steve Fan
    TechNet Community Support

Maybe you are looking for