Clarification for MetaXAP::parse required

Does MetaXAP::parse handle UTF-16 encoded xml? I've knocked up a sample UTF-16 packet and libxmptk is throwing XAP_ERR_BAD_XML. I've traced this error through which is occurring deep within xmlparse.c.
At this stage it's likely that my UTF-16 sample is ill formatted. However there is no mention in the documentation whether MetaXAP::parse will handle UTF-16 or not. If not, then I presume we just convert the xml buffer to UTF-8 before sending to MetaXAP::parse?

Do you try to use the XAPDumper sample to verify your UTF-16 sample ?
In this sample, we can read :
Recognizing the byte order marker is a surprisingly messy thing to do. It can't be done by the normal string matcher, there are no intervening nulls. There are 4 transitions after the opening quote, the closing quote or one of the three encodings. For the actual BOM there are then 1 or 2 following bytes that depend on which of the encodings we're in. Not to mention that the buffer might end at any point.
The intervening null count done earlier determined 8, 16, or 32 bits per character, but not the big or little endian nature for the 16/32 bit cases. The BOM must be present for the 16 and 32 bit cases in order to determine the endian mode. There are six possible byte sequences for the quoted BOM string, ignoring the differences for quoting with ''' versus '"'.
Thus, I think UTF-16 is recognized by MetaXAP::parse but maybe with some precaution.

Similar Messages

  • Clarification for the parser to be used in wls6.1

    Hi,
    Let me confirm whether my underdstanding is correct becuase it was misleading
    on reading the FAQ of xml.Weblogic6.1 has two parsers xerces1.3.1 and weblogic
    fast parser and one cannot use any other version of xerces and xalan and can use
    any other parser by configuring in the xml registry and entering the DocumentBuilderFactory,SAXParserfactory
    and TransformerFactory .Is this right? please endorse it.
    sri

    I have found that all the Oracle SQL functions do work inside the SDO_RDF_MATCH procedure. I have used some of them as part of the filter parameter of the said procedure.
    Thanks
    Bhaskar

  • End of content reached while more parsing required

    I have a simple jsp program running on a tomcat4 server, and I am
              using the tag library from a JSP book. I keep getting this error, and
              I am not sure what it really means.
              (org.apache.jasper.compiler.ParseException: End of content reached
              while more parsing required: tag nesting error? ) Thanks for any help
              you might be able to provide.
              Seth
              

    Thanks for your reply. I already solved that problem.
    But you know what, all I did is only to remove the
    extra space in the tag, then it works.....
    i.e. before the tag looks like this:
    <bean:something id="test" >
    now I changed it to:
    <bean:something id="test">
    It is amazing. I did not know jasper is so sensitive. But I found something here:
    http://ant.apache.org/manual/OptionalTasks/jspc.html, it is recommending
    Tomcat version 4.1.x for the most robust version of jasper. Maybe that
    is why my jsp pages work well with my Tomcat which is 4.1.24, but got
    error message on the server which uses Tomcat 4.0.1.
    Thanks,
    Rong

  • Need clarification for MRP Run

    Dear SAP Guru,
    Need the clarification for MRP Run:
    1.At the time of MRP Run what is the status function for - shipping notification?
    2.First i have run the mrp planning mode is normal after that i have some changes in material master , so planning mode is - RE Explode planning & Bom ? AT THE TIME OF MRP RUN  it is correct
    3.In background MRP Run at MDBT - what is the PLANNING MODE ?
    4. How will work on automatic PO Create through MRP Run PR\S.?
    Kindly give me the feedback , i am waiting for your reply.
    Thanks,
    Uma

    Hello Uma
    1 - A shipping notification is a confirmation from the vendor that the material has been shipped.
    2 - When you change your BOM or material master MRP settings, system automatically set a flag on the planning file to re-explode the BOM. Therefore, MRP automatically re-explode the BOM, even with planning mode 1. Planning mode 2 is only necessary when you need to force a new BOM explosion and I don't recommend you to use it frequently, as it may lead to performance issues. See my document MRP: Why shouldn’t I use planning mode 3 on a productive system? for more details.
    3 - See notes 206666 MRP: Control parameters during planning and 135788 - Planning mode in material requirements planning.
    4 - MRP does not create or change purchase orders or production orders. MRP can only create planned orders, purchase requisitions or schedule lines.
    At last, I wrote the following document with links to the MRP FAQ notes, which may be helpful to you:
    MRP: Frequently Asked Questions
    BR
    Caetano

  • Need clarification for these names, R/3, WAS, NetWeaver

    Hi All
    I posted the question on WAS preview installation, then I realized I should have put it here. Here is the link to that post:
    Need clarification for these names, R/3, WAS, NetWeaver
    Thanks again for any input
    Xueqing
    Added the link to the first post
    Message was edited by: xueqing Han

    Hi Xueqing,
    First of all, sorry for any confusion that we have caused you. I hope I can give you an answer that will clear up the confusion. Sorry, but it is a long explanation of the development of two application solution but history tends to be very long winded!
    It is <b>not</b> true SAP R/3 Enterprise equals SAP Web AS, and I'll hopefully explain why:
    In the beginning (at least in the client server world) SAP only ship SAP R/3. The technology layer under SAP R/3 was called SAP Basis. There was only SAP Basis under SAP R/3.
    SAP then started to deliver other software solutions that were not included in or built on the SAP R/3 software. These included SAP Business Information Warehouse, SAP APO, SAP SEM, SAP CRM, and the list goes on.
    These solutions needed to run on technology layer (like SAP R/3 did). SAP Basis was the obvious choice for this because of the common technology layer providing DB/OS abstraction and a coding environment.
    <b>~2001:</b>
    Later there came the need to have SAP Basis support the web and its web standards and other programming languages. This radically changed what SAP Basis was and we decided to rename the new technology layer to SAP Web Application Server (SAP Web AS). So the SAP Basis name was retired and SAP Basis 4.6D was the last release called SAP Basis.
    The new release and the "technology change" means that all the applications mentioned above now ran on SAP Web AS. The first release of SAP Web AS was 6.10.
    <b>~2002:</b>
    SAP Web AS was first used in SAP R/3 Enterprise release .
    The important fact is that SAP R/3 Enterprise runs on SAP Web AS. SAP R/3 Enterprise = SAP R/3 business applications + new business functions + SAP Web AS.
    <b>~2003:</b>
    I hope the above explanation is clear, because technology takes another major change. It was realized that SAP now had a collection of business solutions/applications (SAP R/3, mySAP CRM, mySAP SCM, etc) and a collection of technology solutions (SAP Web AS, SAP BW, SAP EP, etc). The technology requirements for the business solutions did not end at SAP Web AS, they needed portal, data warehouse, knowledge management capabilities, etc to develop business solutions on.
    To address this SAP made the decision to combine all the technology solutions and tools into one single platform. This made complete sense for developers (SAP, Partners and customers). This single platform is called SAP NetWeaver. It includes all the old individual components of SAP Web AS, SAP BW, SAP KM, SAP EP, etc).
    <b>~2004:</b>
    I think you can guess what the next step is. Yes, the new release of SAP R/3. Since the release of SAP R/3 Enterprise and the release of SAP NetWeaver, SAP R/3's name changes. It is now called mySAP ERP as it includes a lot of applications that were previously sold separately (like SAP SEM, MSS, ESS, etc).
    So now mySAP ERP runs on SAP NetWeaver (yes everything that was in SAP Basis and then in SAP Web AS is still there but SAP NetWeaver has so much more now).
    Also with the release of SAP NetWeaver, SAP starts to stop using the old technology component names - you will not hear us talk about SAP Web AS, SAP BW, etc anymore, just SAP NetWeaver releases.
    In addition all the other SAP business applications also run on SAP NetWeaver, so the latest version of mySAP CRM, mySAP SRM, and mySAP SCM all run on SAP NetWeaver.
    So to simplify the explanation, it would be :
    <b>Evolution of SAP R/3:</b>
    SAP R/3 (up to release 4.6c) -> SAP R/3 Enterprise (releases 1.00 through 2.00 -> mySAP ERP (2004 onward)
    <b>Evolution of Basis:</b>
    SAP Basis (up to release 4.6d) -> SAP Web AS (up to release 6.40 which was included in SAP NetWeaver '04) -> SAP NetWeaver (2004 onward)
    SAP NetWeaver and mySAP ERP have <u>their own release cycles</u>. mySAP ERP always has an underlying technology release that it is built on (this is a SAP NetWeaver release)
    I hope this helps,
    Mike.
    <b></b>

  • Any ideas for this Business requirement

    Hi All,
    Just wondering to see if any of you have encountered the following business requirement and if so how we can address it.
    Business Requirement:
    (1) Distribution Centers(DC Plant) maintains a relationship with the Factory(Production Plant) that can allow for the swapping of planned production of one product with the planned production of another product. This relation can allow for the partial or complete swapping of one unit of planned production with another in the group.
    Example: Product Group1 has 2 products underneath it- Product A and Product B
    n= Current period (Month)
    n+1= Next period.........
    After n+4 periods, the production qty are as follows:
    Prod qty@ Product A = 10
    Prod qty@ Product B = 30
    Hence the Production Qty@ Product Group 1 = 20+20 = 40 ( Aggregation of the prod qty from products to product group level)
    The swap of production can be btw Product A and Product B and should not exceed the total Production Qty for the product group
    Some examples can be:
    Prod qty@ Product A = 15
    Prod qty@ Product B = 25
    Total Prod Qty@ Product group 1= 40
    Prod qty@ Product A = 20
    Prod qty@ Product B = 20
    Total Prod Qty@ Product group 1= 40
    Prod qty@ Product A = 30
    Prod qty@ Product B = 10
    Total Prod Qty@ Product group 1= 40
    etc etc........lot of combinationsu2014The above examples are for understanding the requirement.
    However let us say the business determines a planned % of swap btw the products:
    Example:
    Total Prod Qty@ Product group 1= 40
    Swap % = 10%
    Then the new Production Qty with the Swap% are as follows:
    Prod qty@ Product A = 10 + (10*10/100) = 11
    Prod qty@ Product B = 30  + ( 30*10/100) = 33
    (2) The other requirement is that the ATP check of the Sales Orders should take into account the Production qty with swap% at the individual product level and also constrain it with the total production qty for the Product group
    Example: Let us say we have a
    SALES ORDER for Product A for Requested Qty=40
    SALES ORDER for Product B for Requested Qty=40
    The confirmation for the above 2 sales orders should be as follows:
    Confirmation for SALES ORDER for Product A =11 qty
    Confirmation for SALES ORDER for Product B =29 Qty
    The total confirmation is still equal to the original production qty for the Product Group= 40 qty
    Thanks
    Kumar

    Kumar
    I dont know what flexibility you have in building the solution - are you looking at a greenfield from-scratch solution or do you already have a ltechnical andscape that you need to work with ?
    If its the former then here is what might work -
    1. Using APO DP, you generate a 'Sales' Forecast (based on statistical models + adjustments). This is a statement of unconstrained independent demand, for the products they actually expect to sell.
    2. Using SNP, you (optionally) check the sales forecast for capacity.
    3. As part of the S&OP process, you make any adjustments in DP to develop a 'Consensus' (and optionally constrained) Demand Plan.
    4. Within DP, in the very near term you disallow any changes to the Consensus Demand Plan ('Frozen' Horizon) since it would be too late for manufacturing to react to changes. In the medium term ('Slushy' horizon), you allow changes only within the Product Group, using the swapping process you describe. Further out (Liquid horizon), you follow steps 1 through 3, with any changes acceptable.
    5. Usng GATP, you can use the same forecast created within step 1 or 4 to limit what can be ordered using Product Allocation.If the products within the product group are interchangeable from a customers perspective, then you can use Rules Based ATP to switch products.
    Rishi Menon

  • The workflow could not update the item, possibly because one or more columns for the item require a different type of information. Outcome: Unknown Error

    Received this error (The workflow could not update the item, possibly because one or more columns for the item require a different type of information.) recently on a workflow that was
    working fine and no changes were made to the workflow.
    I have tried a few suggestions, i.e. adding a pause before any ‘Update’ action (which didn’t help because the workflow past this action without incident); checked the data type being written
    to the fields (the correct data types are being written); and we even checked the list schema to ensure the list names and the internal names are aligned (they
    are), but we still cannot figure out why the workflow is still throwing this error.
    We located the area within the workflow step where it is failing and we inserted a logging action to determine if the workflow would execute the logging action but it did not, but wrote the same error message.
    The workflow is a Reusable Approval workflow designed in SharePoint Designer 2010 and attached to a content type. 
    The form associated with the list was modified in InfoPath 2010. 
    Approvers would provide their approval in the InfoPath form which is then read by the workflow.
    Side note - items created after the workflow throws this Unknown Error some seem to be working fine. 
    We have deleted the item in question and re-added it with no effect. 
    Based on what we were able to determine there don’t seem to be any consistency with how this issue is behaving.
    Any suggestions on how to further investigate this issue in order to find the root cause would be greatly appreciated?
    Cheers

    Hi,
    I understand that the reusable workflow doesn’t work properly now. Have you tried to remove the Update list item action to see whether the workflow can run without issue?
    If the workflow runs perfectly when the Update list item action is removed, then you need to check whether there are errors in the update action. Check whether the values have been changed.
    Thanks,
    Entan Ming
    Entan Ming
    TechNet Community Support

  • The workflow could not update the item, possibly because one or more columns for the item require a different type of information using Update Item action

       I got error  "The workflow could not update the item, possibly because one or more columns for the item require a different type of information "I  found out the cause is  Update Item action       
    I need to update item in another List call Customer Report ,the field call "Issues"  with data type  "Choice"   to yes
    then the error arise .   please help..

    Thanks for the quick response Nikhil.
    Our SPF 2010 server is relatively small to many setups I am sure. The list with the issue only has 4456 items and there are a few associated lists, eg lookups, Tasks, etc see below for count.
    Site Lists
    Engagements = 4456 (Errors on this list, primary list for activity)
    Tasks = 7711  (All workflow tasks from all site lists)
    Clients = 4396  (Lookup from Engagements, Tslips, etc)
    Workflow History = 584930 (I periodically run a cleanup on this and try to keep it under 400k)
    Tslips = 3522 (Engagements list can create items here, but overall not much interaction between lists)
    A few other lists that are used by workflows to lookup associations that are fairly static and under 50 items, eg "Parters Admin" used to lookup a partners executive admin to assign a task.
    Stunpals - Disclaimer: This posting is provided "AS IS" with no warranties.

  • How can I add a new entry for determining a requirement type

    Dear Friends,
    How can I add a new entry for determining a requirement type
    via Item Category + MRP type,  I see no new entries selection.
    This is in  Avb Check & TOR-> TOR-> Determination of req type using transaction.
    Please help.
    Regards
    Ravi.

    Availability Check and Transfer of Requirements > Transfer of Requirements > Define Requirements Types ?
    Just one node above?
    Never mind, you need to add entry on item category:S

  • Windows cannot verify the digital signature for the drivers required for this device. A recent hardware or software change might have installed a file that is signed incorrectly or damaged, or that might be malicious software from an unknown source. (Code

    I get this message when I check the Device manager for my Ipod
    Windows cannot verify the digital signature for the drivers required for this device. A recent hardware or software change might have installed a file that is signed incorrectly or damaged, or that might be malicious software from an unknown source. (Code 52)
    How do I resolve this I have reinstalled iTunes but it still doesn't recognise my ipod

    I reinstalled Itunes a couple of times.  I unistalled all programs that I never use, I updated all of my drivers, Windows swept my computer and found no problems.  I have a yellow causion lite when I look at the USB-port with the phone connected.  All other devices work without a problem.

  • GR based IV to be checked for free text requirement

    Hi All,
    Is there any option that if we create shopping carts for free text requirement,GR based IV should be checked automatically in purchase order created for that shopping cart.Or will this get replicated depending on vendor master we select.Please suggest.
    Thanks.

    Hi,
    As of standard, this setting in PO would come from Vendor master only. But in case you want this to happen for all free text items, then you can use the doc change badi as suggested by Masa. You should use the po change method to pass this indicator.
    Regards,
    Sanjeev

  • How may I open Pages '08 docs in Pages for Mac?  Requires saving to Pages '09 which I don't have.

    How may I open Pages '08 docs in Pages for Mac?  Requires saving to Pages '09 which I don't have.

    If you still have a working copy of Pages ’08, then save the Pages documents out as .doc Word files and open those in Pages v5.5.2. If you do not have a machine to run Pages '08 on, but still have the iWork '08 DVD, you can install that on Yosemite, and then update Pages '08 to version 3.0.3. Then export the Pages documents to Word. Or you can simply avoid using Pages v5.5.2 altogether, as it has a fraction of the capability found in Pages '08.

  • Two production  orders at the header level one for one single requirement

    Hi Gurus, Please provide me your valuable suggestion on the issue.
    *Client wants to have a only two production  orders at the header level one for one single requirement .*
    1) Manufacturing Order u2013 In this order for Finsihed prodcut system should pick all the assemblies whcih are manufactured inside i.e depending on the material type.\
    2) Assembly order u2013 In this order system should pick all the assemblies whicih need to be assembled also procured or subcontracted items in this order against depending on the material type.
    It means for Sales order of  5 EA there is going to be only 2 order ( MFG & assy order).
    For Example.
    L45-7000 is the header material now client wants only two production orders one Manufacture order and anothe Assmebly order , thet dont want to use Phantom assembly concept and also multiple production orders for  SFG.
    Please confirm if this requirement can be mapped in SAP ?
    Thanks...

    Hi Shishir,
    As soon as each order is related to only one material, if your manufactured (or purchased) assemblies are of different materials, you will have a separate order for each material rather than a single order for all manufactured assemblies. I don't thing all your assemblies are of the same material - thus I would say no, it is not possible to map your requirement.
    Regards,
    Sergiy

  • I dowloaded photoshop CS6 am unable to access for the exercises required of course

    I downloaded photoshop CS6 am unable to access for the exercises required of course

    And exactly what is it that you are trying to tell us? You're making no sense whatsoever. Clarify - preferrably in comprehensible English.
    Mylenium

  • SAP BPM Flow Rule set error: Result for ResultSet is required.

    Hi ,
    I want to create of Rule set or Flow rule set inside "Process development" perspective.
    I have defined one process under "Processes" folder. After this, I want to create a rule set under "Rule Sets" folder.
    While creating a rule set, it prompts for "Result for ResultSet is Required" but I don't get anything in drop down select. Please help me whats going wrong here.
    Regards,
    Aman

    Hi Aman,
    Have you mentioned the Return Type in signature while creating RuleSet ?
    Refer the document : SAP NetWeaver Business Process Management Resource Center
    -Abhijeet

Maybe you are looking for

  • Join between two nested tables question

    Hi. I have two nested tables with a join statement drawing info from both. The query looks like this: select to_char(N.LASTLOGONDATE, 'YYYY'), count(n.u_name), A.ACCOUNTDISABLED from coclastlogon, TABLE(COCLASTLOGON.RLLS) N , userpwaudit, TABLE(USERP

  • Why does my MacBook Pro crash?

    Hi! So my MacBook Pro (13 in., Late 2011) has been acting strange over the past few months... I usually am using Google Chrome and when I go to a new website, it says in the loading bar, "Loading Catch". I gets stuck doing that so I try quitting the

  • InDesign CS4 Crashes at Startup Windows 7

    I just moved to a new computer at work (Windows 7) and installed CS4 Design Standard. All programs (PhotoShop, Illustrator and Acrobat) except InDesign will open and work fine. InDesign crashes when the startup panel shows "Starting up Service Regist

  • Firefox 17.0 doesn't warn me when closing multiple tabs any more

    hi all Having updated to Firefox 17.0 (from 16.0.2), for some reason I don't get warned when closing multiple tabs any more. I've confirmed the relevant options are selected and am 100% certain this was working fine before updating Firefox today. I'v

  • Dropdowns on PC in IE

    Hello, This is my first time on, so please forgive any protocol missteps. I am designing a site and getting reports that my dropdowns off my main nav are doing crazy things whem viewed in IE. I've check on our PC here and I'm not seeing it happen. I