Space not preserving for span elements

Hi,
I am using TLF version 442 for my application.
When i am doing some changes like making text bold like below:
"For Flash 10" to "For Flash 10". Then it shows it correctly.
But again if I export this and and reimport it shows "ForFlash10" i.e. It eliminates the spaces.
I have tried for "XML.ignoreWhitespace", it solves this but if I am having multiple span elements with this then it will take each one on next line. As it preserves the spaces now.
I want it on same line. Is there any way of doing this, ignoreWhiteSpaces is also not as per the expectation as it leaves unneccessary spaces for lines.
Regards,
Rajesh

Hi Richard,
while loading for the first time I have below markup:
<TextFlow whiteSpaceCollapse="preserve" paddingBottom="10" paddingLeft="10" paddingRight="10" paddingTop="10" lineBreak="inherit" verticalAlign="middle" xmlns="http://ns.adobe.com/textLayout/2008">
  <p textAlign="center">
    <span fontFamily="Verdana" fontSize="41" color="0x0" LETTERSPACING="0" KERNING="0">
      For Flash 10 Please Do not Delete This Template
    </span>
  </p>
</TextFlow>
after I make "Flash" Italic the markup becomes:
<TextFlow whiteSpaceCollapse="preserve" paddingBottom="10" paddingLeft="10" paddingRight="10" paddingTop="10" lineBreak="inherit" verticalAlign="middle" xmlns="http://ns.adobe.com/textLayout/2008">
  <p textAlign="center">
    <span fontFamily="Verdana" fontSize="41" color="0x0" LETTERSPACING="0" KERNING="0">
      For
    </span>
    <span fontFamily="Verdana" fontStyle="italic" fontSize="41" color="0x0" LETTERSPACING="0" KERNING="0">
      Flash
    </span>
    <span fontFamily="Verdana" fontSize="41" color="0x0" LETTERSPACING="0" KERNING="0">
      10 Please Do not Delete This Template
    </span>
  </p>
</TextFlow>
If we notice here it removes the space after "For" in first <span> and space before "10" in last <span>.
I am getting these after I export this when I am done with Italic on word "Flash".
For exporting I am using  below code:
var exportXML:XML = XML(TextFilter.export(textFlow,TextFilter.TEXT_LAYOUT_FORMAT,ConversionType.XML_TYPE));
Please let me know if I am making any mistake in this. My TLF version is 442 and Flex SDK is 3.2.
Regards,
Rajesh

Similar Messages

  • Value BLANK/SPACE not valid for cost element "Fund"

    Hi!
    We use funds management in our solution. It has worked fine in development but when doing the module tests we get the following error when creating a shopping cart:
    Value BLANK/SPACE not valid for cost element "Fund"
    When creating a PR in backend we do not get an error. So it should not be a problem in funds management.
    Everything works fine when using BBPSC01 (central)
    Any ideas?
    Sincerely
    Anders
    Edited by: Anders Öhrling on Sep 29, 2008 11:33 AM

    Ple provide the solution for Problem Resolve.

  • Error while creating Absence as "APP-PAY-51271: The assignment is not eligible for the element

    Hi,
    "APP-PAY-51271: The assignment is not eligible for the element."

    Hi Nandhu,
    Can you check below two things which can be cause of this error:
    1. The link definition of the non-recurring element which is tagged with this absence type, as a best practice this should be an open link. If the link definition and the assignment eligibility is not matching then you may receive this error.
    2. If you have defined an accrual plan for this absence type,then check if the accrual plan recurring element is been tagged to the assignment for which you are receiving this error.
    Thanks,
    Sanjay

  • ABAP Dictionary type FLTP is not allowed for screen element

    Hi Experts
    I tried to open VBFA in se16 and i got the message in the status bar like this , what does it mean. please explain.
    "ABAP Dictionary type FLTP is not allowed for screen element"

    Hi,
        This is from help
    ABAP Dictionary type FLTP is not allowed for screen element
    Message no. 37048
    <b>Diagnosis</b>
    The format of the ABAP Dictionary field is only for use within the ABAP
    program and cannot be used in the Screen Painter.
    <b>Procedure</b>
    The field cannot be used in screens. If you want to output the
    information in the field or assign a value to the field from the screen,
    you must use an intermediate field with an appropriate format.
    <b>Reward points</b>
    Regards

  • Check-In not locked for structure element in SOLMAN_DIRECTORY

    Hi,
    In  the solution manager, as a pre-requisite of the one of the upgrade project,
    all the BPS nodes should be checked in the solution directory.
    But we are not able to check in .
    Getting below  error message.
    " Check-In not locked for structure element PD-PPD of type  with object_no 0000847512 "
    Message no. MAINT_PR046
    Can anyone please suggest what could be the issue.

    Please ensure whether both projects have the same budget profile. Other than that you need to carefully investigate how the cost was posted onto both projects in the first place. Please note in case of procurements, budget is only checked at the commitments level (search the forum as this has been discussed before).
    In case this does not resolve your issue, revert back with the budget profile settings.
    Regards,
    Ammar

  • FI  posting not allowed for WBS Element

    Hi All,
    While doing down payment billing I'm getting error that FI posting is not allowed for WBS element. But FI periods are open for all months in 2008.
    Please suggest how to resolve this issue.
    Regards,
    Harish

    Hello
    Account assignment
    If you want to post actual costs and commitments to a WBS element, you have to indicate that the WBS element is an account assignment element in the WBS. All objects that can be assigned costs and commitments within a project (for example, orders, networks, or purchase orders) can only be assigned to a WBS element if you have set the account assignment indicator for the element.
    In Customizing for the Project System, you can set an indicator to specify that costs are planned for all WBS elements or only for specific WBS elements.
    Billing
    If you want to post revenues to a WBS element, you have to indicate that the WBS element is a billing element in the WBS.
    Reg
    assign points if useful

  • Getting error "this serial number is not valid for Premier Elements 12"

    My old computer crashed big time and I'm trying to install Elements 12 on a new computer.  Installed ok and when trying to register it, I'm getting the error message "This serial number is not valid for Premier Elements 12."  Didn't install Premier Elements 12, just Elements 12.  Unable to get any assistance yet from Adobe support, hope to learn something here.  Thanks in advance.

    Have you activated the product previously on more than two machines? You will need to contact Adobe directly using the link below. Use the dropdown menu for boxes (1) & (2) to scroll down the list and choose:
    1. Adobe Photoshop Elements
    2. Adobe ID, and signing-in
    3. Click on the blue button: Still need help? Contact us – then click the area marked chat 24/7, then click “start chat ”
    It’s usually possible to start a live chat, if an Adobe agent is free, and often to get the problem fixed right away. Have your serial number available. The agent can directly troubleshoot your system if you agree to activate the Adobe Connect add-on.
    Click here to get help now Contact Customer Care

  • When opening XHTML page, getting error message "Attribute ....space not declared for element 'pre' "

    Hi all,
    We are trying to use XHTML to author some of our documentation.  The plan is to use FrameMaker to convert the docs to PDF format.
    The input file contains the following offending line:
    <pre xml:space="preserve">
    This should be allowed according to the www.w3.org/1998/xhtml spec.
    The actual FM log message is:
    Message: Attribute '{http://www.w3.org/XML/1998/namespace}space' is not declared for element 'pre'
    Any hints?  I am using Frame Maker 9, by the way.
    Thanks,
    Frances

    In case anyone is interested the base solution given by dvohra09 can be expanded to solve the problems.
    (1) It appears the parser raises errors against any unknown attributes, including xmlns:xxx="...". Solution is either to declare them in the dtd element you would like them to appear in (as in answer from dvohra09 ).
    (2) You have to explicitly force the tags in the DTD into the correct namespace using prefixs to ensure the correct ones are picked up , e.g.:
       <!ELEMENT nstag:mytag (mysubtag+)>
       <!ATTLIST nstag:mytag   xmlns:nstag CDATA #FIXED  "http://www.someOtherURI.com/xxx">
    you then have to refer to the tag as <nstag:mytag>.
    This doesn't appear to be how the XML/namespace specs (or the slideshow example) say it should be. They imply (1) should silently declare the new namespace prefix, and (2) should work without prefixes because the DTD filename is used as an explicit namespace.

  • Pur req not generated for MRP element Planned order in stock reqmnts list

    Hi SAP Gurus,
    I have a problem where in MD04, pur req is not generated for the MRP element Planned order for a future date (about two months from now). Is there a specific reason? why is it not being generated? The MRP type is PD. The procurement type is F - external procurement. Can anybody please help me on this?
    Thanks
    Anusha

    Anusha,
    ??  Not sure I understand the question.  Are you saying MRP is creating planned orders instead of  purchase reqs?  Or, are you saying that no proposals at all are being created outside of two months?  Or, are you saying that the system is creating purchase reqs inside of two months, and planned orders outside of two months?
    Regardless, these problems are probably related to your MRP settings.  Try the following settings:
    NEUPL   Regenerative planning             
    1       Purchase requisitions             
    3       Schedule lines                    
    1       MRP list                          
    3       Delete and recreate planning data 
    2       Lead time scheduling and capacity planning
    on your MDBT screen.
    Regards,
    DB49

  • White space not preserved with XSL Mapping

    Hello
    Is there a problem with preserving white space when using a XSL mapping? My schema has the following included:
                  <xs:element name="FileVersion" minOccurs="1" maxOccurs="1">
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:length value="5"/>
                        <xs:whiteSpace value="preserve"/>
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:element>             
    The whiteSpace attribute alone didn't do it, so I've added length as well which didn't help either.
    My imported XSL mapping writes a fix value of " 6.00" (having a leading space) into the field:
         <FileVersion>
              <xsl:value-of select="' 6.00'"/>
         </FileVersion>
    Processing the mapping with an external tool provides the correct output with a leading space.
    The leading space is missing in the output file or when I do testing in the integration builder. Looking at the target payload in sxmb_moni also shows me the value without leading space:
      <FileVersion>6.00</FileVersion>
    What do I miss? I haven't really found a posting regarding the issue, hence I assume it isn't really one!? Any feedback is appreciated.
    Thanks,
    Daniel

    My XSLT mapping does not have a preserve-space declaration. I am using Altova MapForce, and apparently preserve-space is not a declaration that is supported by MapForce. I would need to manually add it to the mapping after generating it in the tool. Nevertheless, isn't preserve-space the default anyway if nothing is declared, and therefore not necessary?.

  • Is there a bug with firefox when supporting "aria-labelledby" attribute for span element?

    I use firefox 10.0.3, and using JAWS 13 to read the screen.
    I set the "aria-labelledby" attribute for the span, and only first element content was read even I set three 'id' for this attribute. This can work well under IE8.
    <pre>&lt;table role="grid" summary="Details table"&gt;
    &lt;tr&gt;
    &lt;td type="columnTitle"&gt;&lt;span tabIndex="0" role="gridcell"&gt;Date&lt;/span&gt;&lt;/td&gt;
    &lt;th id="_NS_hdr1" role="columnheader" type="columnTitle"&gt;&lt;span tabIndex="-1" role="columnheader"&gt;3/4&lt;/span&gt;&lt;/th&gt;
    &lt;th id="_NS_hdr2" role="columnheader" type="columnTitle"&gt;&lt;span tabIndex="-1" role="columnheader"&gt;3/11&lt;/span&gt;&lt;/th&gt;
    &lt;th id="_NS_hdr3" role="columnheader" type="columnTitle"&gt;&lt;span tabIndex="-1" role="columnheader"&gt;3/18&lt;/span&gt;&lt;/th&gt;
    &lt;th id="_NS_hdr4" role="columnheader" type="columnTitle"&gt;&lt;span tabIndex="-1" role="columnheader"&gt;3/25&lt;/span&gt;&lt;/th&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
    &lt;th id="_NS_hdr5" role="rowheader" type="columnTitle"&gt;&lt;span tabIndex="-1" role="rowheader"&gt;Count&lt;/span&gt;&lt;/th&gt;
    &lt;td headers="_NS_hdr1 _NS_hdr5" type="datavalue"&gt;
    &lt;span tabIndex="-1" id="_NS_N158B5CC0.1614A0C80" role="gridcell" aria-labelledby="_NS_hdr1 _NS_hdr5 _NS_N158B5CC0.1614A0C80"&gt;0&lt;/span&gt;
    &lt;/td&gt;
    &lt;td headers="_NS_hdr2 _NS_hdr5" type="datavalue"&gt;
    &lt;span tabIndex="-1" id="_NS_N158B5CC0.1614A1200" role="gridcell" aria-labelledby="_NS_hdr2 _NS_hdr5 _NS_N158B5CC0.1614A1200"&gt;75&lt;/span&gt;&lt;/td&gt;
    &lt;td headers="_NS_hdr3 _NS_hdr5" type="datavalue"&gt;
    &lt;span tabIndex="-1" id="_NS_N158B5CC0.1614A1780" role="gridcell" aria-labelledby="_NS_hdr3 _NS_hdr5 _NS_N158B5CC0.1614A1780"&gt;231&lt;/span&gt;
    &lt;/td&gt;
    &lt;td headers="_NS_hdr4 _NS_hdr5" type="datavalue"&gt;
    &lt;span tabIndex="-1" id="_NS_N158B5CC0.1614A1D00" role="gridcell" aria-labelledby="_NS_hdr4 _NS_hdr5 _NS_N158B5CC0.1614A1D00"&gt;81&lt;/span&gt;
    &lt;/td&gt;
    &lt;/tr&gt;
    &lt;/table&gt;</pre>

    Hi MacroZ,
    I understand your point. JAWS support different ways to navigate the page, such as use 'tab' key to navigate clickable items, or use 'Ctrl+Alt+arrow keys' to navigate the data table cells.
    I removed the 'gridcell' role from data cells and when I use 'Ctrl+Alt+arrow keys', it works well(I move to one cell, and it can read column title, then row title, then cell value). So it's acceptable because at least we have one way to read this data table :)
    There is one more thing I want to ask, I have one page that include one iframe, and the page inside the iframe has several hyper links, I start JAWS13, then use 'tab' key to navigate these links inside the iframe page, when I navigate to one link, I press 'enter' key to goto the new page, then I found all links in the new page do not work when I navigate to any of them and press 'enter' key(it can works well when using mouse click). Seems there's no problem under IE8, I'm not sure this issue comes from JAWS or firefox, so hope you can help to confirm on this, many thanks!

  • Profit Center not updating for WBS Element

    Hello Gurus,
    We have a scenario in which we have level 1 WBS element to which their is no cost and revenue. Now we have level 2 WBS element which is billing element to which we are posted some actula cost and revenue. Below this we are creating level 3 , 4 WBS elements and posting some actual cost to it  (not billing elements).
    So we are running RA and Settlement for this billing WBS.
    Now if over project is over so we are assigning TECO to this Level 2 billing WBS. When we are running POC then it is 100 %. But when we are running settlement then it is showing error as Maintain Settlement Rule for XXX WBS element (level3 , level 4)
    As we are not maintaining any settlement rule for level 3 , level 4. We are only assigning settlement rule for Level 2 (billing) to PSG.
    So how to solve this issue ?
    Regards
    Keshav

    Hi,
    The answer is there in your query itself. You say that you are booking some actual costs on the WBS elements on level 3. Since you are incurring costs on these WBS elements these costs need to be settled to some receiver. Either the WBS on level 2, which is a billing element or to some PSG. Since there is no settlement rule defined for these WBS elements at level 3 system is throwing this error.
    Maintain a proper settlement rule for the WBS elements in question and then run the settlement. It should work.
    Regards,
    Gokul

  • Spaces Not Displaying for Members

    For some of our users the spaces they are members of no longer appears on the spaces page on the home space or in the spaces list. This is also occuring for newly invited (non-spaces users). No changes to our production environment in he last six months except a security certificate update.
    Anyone seen this before?

    Could it be that those spaces are public?

  • I purchased Adobe photoshop elements II and Adobe premiere elements II. They are both on one disc. My computer crasded and I had to reload Windows. I only have one serial number and it only works with photoshop II. The same serial number will not work for

    I purchased Adobe photoshop elements II and Adobe premiere elements II. They are both on one disc. My computer crasded and I had to reload Windows. I only have one serial number and it only works with photoshop II. The same serial number will not work for Premiere. I dont have any other serial numbers. What do I do???

    Static_Unit
    I am getting a bit concerned about what is happening in your situation. Yesterday you posted your question in at least two different forums, one of them being here in the Premiere Elements Forum.
    Don't Have Serial Number for Premiere, Only Photoshop?
    Wherever you posted, the reply was to contact Adobe via its Adobe Chat. It is the only one who can sort out this matter for you.
    In the thread cited above I offered to help you with the difficulties that you were having visualizing the Adobe Chat in its web page. I was waiting for your follow up on that in the above thread. Instead, I find your same question in a new Adobe Premiere Elements Forum thread this afternoon with no refer the prior threads or prior recommendations given you.
    I will also mention again...when you buy the Photoshop Elements and Premiere Elements bundled in one packaging and with installation files for each on the same installation disc, each program has its own serial number. The Photoshop Elements serial number does not work for Premiere Elements and vice versa. The serial numbers are on labels on a box which houses the installation disc envelope(s). So, if you purchased both programs and found the Photoshop Elements serial number, then the Premiere Elements serial number should be in a label right underneath the label with the serial number for Photoshop Elements. I recall writing this in your yesterday's thread on this matter.
    The moderator will no doubt be along shortly to close or delete this thread. So, just in case, please bookmark your yesterday's thread cited above so that we can continue this communication which is trying to help you.
    Thanks.
    ATR

  • Italics and boldface not preserved in cut-and-paste from InDesign CS3

    This is using Mac InDesign CS3 5.0.1 and Mac Dreamweaver CS3
    9.0.
    When cuting-and-pasting text from InDesign CS3 to Dreamweaver
    CS3, basic text formatting such as italics and boldface are not
    preserved for me. When I select Edit, Paste Special in Dreamweaver,
    the "Text with structure plus basic formatting (bold, italic)" is
    not selectable when the clipboard holds InDesign-origin text.
    If I paste the same InDesign text into Word, the formatting
    is preserved and if I then cut-and-paste from Word into
    Dreamweaver, boldface and italics are preserved. But I don't want
    to cut-and-paste everything twice!
    Do others experience this too?
    -Tim Miller Dyck
    Editor/Publisher
    Canadian Mennonite magazine

    Apparently it is an issue with Leopard (and Illustrator)
    Workarounds:
    1) Export from InDesign as eps or PDF, or
    2) Copy paste into Photoshop as a Smartobject, and then double click the layer to edit smart object (it will open in Illustrator)
    I know, it's a pain.
    Ian

Maybe you are looking for