RTFProcessor produces invalid XSL-FO in WebLogic

I've been writing an application that uses the RTProcessor class to process an rtf file into XML, which I can then parse to information about the report layout.
While developing on tomcat this worked fine. However for production we will be deploying on WebLogic. WebLogic seems to be using a different XML parser that is stricter than tomcats so when using the application the XML parser throws an error when parsing the XSL-FO.
The problem is that XSL-FO is not valid XML as it contains an invalid character on the line:
<xsl:variable name="_XDOXSLTCTX" select="xdoxslt:set_xslt_locale($_XDOCTX, $_XDOLOCALE, $_XDOTIMEZONE, $_XDOCALENDAR, concat($_XDODFOVERRIDE,'',$_XDOCURMASKS,'',$_XDONFSEPARATORS))"/>
So my first question is: Is there a way to stop this element from being generated in the XSL-FO? This seems to have been looked at in this thread but without much of a conclusion:
BI Publisher produces invalid XSL:FO stylesheet
My second question: I don't understand how Tomcat can parse the XML and WebLogic can't. I'm deploying the same code so I'd assumed it would be using the same parser. As a work around around is it possible to configure WebLogic to use the same parser as tomcat? The relevant code I'm using is posted below:
ByteArrayOutputStream templateOutputStream = new ByteArrayOutputStream();
               RTFProcessor rtfProcessor = new RTFProcessor(
                         new FileInputStream(template.getTemplateFile())
               rtfProcessor.setOutput(templateOutputStream);
               rtfProcessor.process();
               logger.debug(this.className + " - " + methodName +
                         ":#2 XSL-FO : " + templateOutputStream.toString());
               DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
               DocumentBuilder db = dbf.newDocumentBuilder();
               // parse using builder to get DOM representation of the XML file
               Document dom = db.parse(new ByteArrayInputStream(templateOutputStream.toByteArray()));
Thanks in advance.

Hi,
Thanks for your reply, After debugging the application carefully in Tomcat and Weblogic it became apparent that weblogic was using it's preferred XML parsers when parsing my XML.
In Tomcat has a different order or precedence for its class loader so it was parsing my XML with the oracle.xml package, Weblogic was instead using its own weblogic.xml parser. So I had to set up a weblogic-application.xml file to control this.
If you're right that the XML is valid, then this looks like there is a bug in the weblogic parser. I'm not at work at the moment but if you want more details I can get you them next week.
Thanks.

Similar Messages

  • Email search will produce invalid results.

    a search of an email folder where the search criteria involves the body of the email will produce invalid results
    Either in Webmail interface or via IMAP client (e.g. Thunderbird 1.5.x or 1.x) a search of an email folder where the search criteria involves the body of the email will produce invalid results (results set includes emails which don't match the search criteria).
    e.g.
    10 emails in an email folder
    5 emails' body contains the phrase "fuzzy-bunny"
    A search for body contains "fuzzy-bunny" will return more than just the 5 emails.
    EMAIL SERVER VERSION:
    iPlanet Messaging Server 5.2 HotFix 2.09 (built Nov 18 2005)
    libimta.so 5.2 HotFix 2.09 (built 10:35:58, Nov 18 2005)
    As anyone seen this before. Possibly a fix in later Hotfixes?
    Thanks in advance.

    Indeed, this is a known issue.
    Fixed in hotfix 2.11. You will want to contact support for the current hotfix.
    Though, I would strongly suggest that you be in the planning stage for upgrade to 6.3. 5.2 is due for End Of Support Life, very soon.

  • Scanning always produces invalid PDF files

    I recently purchased an HP OfficeJet 4636, and I notice that when scanning documents to PDF, the generated PDF files are always invalid. When opening these files in Acrobat Reader or Acrobat Pro, one gets the message "The file is damaged but is being repaired." Many other PDF tools can't open the files at all.
    I have installed the newest firmware update and restarted the printer, but the problem was not solved.
    I tried many different settings (e.g., resolution, paper size, scan from ADF, scan from Glass), but the problem is always the same. For the record, I am using the "Web scan" interface: http://XX.XX.XX.XX/#hId-pgWebScan.
    If there were an opportunity to attach a file to this bug report, I would attach an actual PDF file generated by this printer. I am happy to supply the file later, and I will refer to this specific file in my analysis of the bug below.
    I am familiar with Adobe's PDF definition:
    PDF Reference, sixth edition. Adobe Portable Document Format
    Version 1.7, November 2006. Abobe Systems Incorporated.
    I examined the PDF file in detail and it is quite clear what the bug is. Object 1 of the PDF file starts at byte offset 10, and it is a stream object containing the main image data in compressed JPEG format. The Length field for the stream object (at byte offset 168) is set to 1051875. However, the actual compressed stream data is only 64914 bytes long.
    This is incorrect, because the PDF Reference (Section 3.2.7, p.61, "Stream Extent") specifies that "If the stream has a filter, Length is the number of bytes of encoded data." (emphasis in original). In other words, the stream length should be set to 64914, which is the length of the JPEG encoded data, and not 1051875 (which is presumably the length of the raw unencoded image data).
    Moreover, four of the entries in the PDF xref table (at offset 65504) are incorrect:
    the byte offset for object 2 is given as 1052085 (actual location of object 2 is 65124);
    the byte offset for object 3 is given as 1052140 (actual location of object 3 is 65179);
    the byte offset for object 4 is given as 1052206 (actual location of object 4 is 65245);
    the byte offset for object 5 is given as 1052383 (actual location of object 5 is 65422).
    Also, the PDF startxref pointer (at offset 65674) points to 1052465, whereas the actual location of the xref table is byte offset 65504.
    Note that in all six cases, the error is exactly equal to the difference between the declared stream length (1051875) and the actual stream length (64914):
    1051875 - 64914 = 986961
    1052085 - 65124 = 986961
    1052140 - 65179 = 986961
    1052206 - 65245 = 986961
    1052383 - 65422 = 986961
    1052465 - 65504 = 986961
    It looks like this is a simple programming error in the printer's PDF generation software: all the offsets are computed as if the length of the embedded image stream were 1051875, whereas it is actually 64914.
    I scanned at different page sizes, resolutions, and so on. Each time, the actual byte offsets were slightly different (depending on the length of the encoded image stream), but the above relationships still hold in each case.
    Please fix this! It is not really acceptable for an HP scanner to produce broken PDF files. Thanks, -- Peter

    Hi @Selinger 
    One of the important things to point out is that the Webscan feature was designed for diagnostic purposes. The intended method of scanning is with HP software and the software build into the OS.
    For Mac users this includes Apple Preview, Image Capture, or scanning from the Print and Fax Window.
    For Windows users, non HP software includes, Windows Live Photo GAllery, Paint, and Windows Fax and Scan.
    Webscan is a great alternative, but it is very basic. Your best option it to install the HP software and us the HP Scan program.
    If there is a particular reason you are using Webscan and prefer to scan this way, the only thing I can really suggest is to try a different browser.
    Please let me know the outcome of a different Browser, what Browser you are currently using, and what happens when you scan with HP software. If you require further assistance, please also include your operating system. What operating system, and version do you have? Mac or Windows?
    I hope this helps.
    Please click the Thumbs up icon below to thank me for responding.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Sunshyn2005 - I work on behalf of HP

  • XSL-FO in Weblogic Server

    Hi Folks,
    Any idea if the "fop.jar" used for XSL-FO (creates pdfs, from xmls) is available on the Weblogic server ?
    If yes, can someone please point me to that location ?
    Else, any other options of creating pdfs using Java ?
    Thanks.

    Hi Puneet,
    Download the Apache FOP from
    http://xmlgraphics.apache.org/fop/download.html
    Below Link will be helpful for using FOP with Java
    http://www.sagehill.net/docbookxsl/InstallingAnFO.html#InstallFop
    which States
    FOP Java command
    You may want to set your CLASSPATH yourself to run the FOP Java command. See the section “Installing FOP” for information on what files need to included in the CLASSPATH. The safest approach is to include everything in the lib directory of the FOP distribution as well as build/fop.jar. The following example assumes the FOP .jar files are installed into /usr/java. Replace any version strings in the example below with the actual version numbers on the files in your FOP distribution.
    Setting CLASSPATH:
    CLASSPATH="/usr/java/fop-0.93/build/fop.jar:\
    /usr/java/fop-0.93/lib/avalon-framework-version.jar"
    /usr/java/fop-0.93/lib/batik-version.jar:\
    /usr/java/fop-0.93/lib/commons-io-version.jar:\
    /usr/java/fop-0.93/lib/commons-logging-version.jar:\
    /usr/java/fop-0.93/lib/fop-hyph.jar:\
    /usr/java/fop-0.93/lib/jai_core.jar:\
    /usr/java/fop-0.93/lib/jai_codec.jar:\
    /usr/java/fop-0.93/lib/serializer-version.jar:\
    /usr/java/fop-0.93/lib/xalan-version.jar:\
    /usr/java/fop-0.93/lib/xercesImpl-version.jar:\
    /usr/java/fop-0.93/lib/xml-apis-version.jar:\
    /usr/java/fop-0.93/lib/xmlgraphics-commons-version.jar:\
    export CLASSPATH
    General syntax:
    java org.apache.fop.cli.Main [options] \
    [-fo|-xml] infile \
    [-xsl stylesheet-path] \
    -pdf outfile.pdf
    Convert a .fo file to pdf:
    java org.apache.fop.cli.Main \
    -fo myfile.fo \
    -pdf myfile.pdf
    Convert an XML source file directly to pdf:
    java org.apache.fop.cli.Main \
    -xml myfile.xml \
    -xsl docbook-xsl/fo/docbook.xsl \
    -pdf myfile.pdf
    Now Adding the Above jar files on Weblogic
    Keep All Jar files inside your Application /Web-inf/lib folder and then create the build .war or .ear file
    You can also give a try using Itext for generating pdf
    http://viralpatel.net/blogs/2009/04/generate-pdf-file-in-java-using-itext-jar.html
    Regards
    Fabian

  • EA2 - BUG: Export produces invalid SQL for BINARY_DOUBLE columns

    Description:
    When a table contains a BINARY_DOUBLE column, INSERTs for that column in SQL exported with Export Wizard are invalid.
    Steps to reproduce:
    - open SQL Developer, connect to DB
    - make a table containing a BINARY_DOUBLE column, e.g.:
    CREATE TABLE "TESTTABLE" ("BINDBLCOL" BINARY_DOUBLE) ;
    - add some data (floating-point numbers) to the table
    - choose Tools -> Export Wizard (or Export DDL and Data in SQL Developer v1.2)
    - check exporting of tables and data, on "Specify Objects/Data" choose your table
    - press "Apply"
    Error:
    Generated SQL contains invalid INSERTs: floating-point numbers are enclosed in apostrophes (see below, relevant part is underlined).
    -- DDL for Table TESTTABLE
    CREATE TABLE "TESTTABLE"
    (     "BINDBLCOL" BINARY_DOUBLE
    -- DATA FOR TABLE TESTTABLE
    -- FILTER = none used
    -- INSERTING into TESTTABLE
    Insert into TESTTABLE (BINDBLCOL) values ('1.2345');
    -- END DATA FOR TABLE TESTTABLE
    The script, when run, produces following error on INSERT line:
    SQL Error: ORA-01722: invalid number
    When apostrophes are removed manually, script runs without problems.
    Remarks:
    SQL Developer: 1.5.0.52 MAIN-52.03; the same bug also on 1.2.1, build MAIN-32.13
    Oracle DB: 10 Express
    OS: Windows 2000 Professional
    Java: 1.5.0.52: 1.5.0_15; 1.2.1: 1.6.0_03

    Description:
    When a table contains a BINARY_DOUBLE column, INSERTs for that column in SQL exported with Export Wizard are invalid.
    Steps to reproduce:
    - open SQL Developer, connect to DB
    - make a table containing a BINARY_DOUBLE column, e.g.:
    CREATE TABLE "TESTTABLE" ("BINDBLCOL" BINARY_DOUBLE) ;
    - add some data (floating-point numbers) to the table
    - choose Tools -> Export Wizard (or Export DDL and Data in SQL Developer v1.2)
    - check exporting of tables and data, on "Specify Objects/Data" choose your table
    - press "Apply"
    Error:
    Generated SQL contains invalid INSERTs: floating-point numbers are enclosed in apostrophes (see below, relevant part is underlined).
    -- DDL for Table TESTTABLE
    CREATE TABLE "TESTTABLE"
    (     "BINDBLCOL" BINARY_DOUBLE
    -- DATA FOR TABLE TESTTABLE
    -- FILTER = none used
    -- INSERTING into TESTTABLE
    Insert into TESTTABLE (BINDBLCOL) values ('1.2345');
    -- END DATA FOR TABLE TESTTABLE
    The script, when run, produces following error on INSERT line:
    SQL Error: ORA-01722: invalid number
    When apostrophes are removed manually, script runs without problems.
    Remarks:
    SQL Developer: 1.5.0.52 MAIN-52.03; the same bug also on 1.2.1, build MAIN-32.13
    Oracle DB: 10 Express
    OS: Windows 2000 Professional
    Java: 1.5.0.52: 1.5.0_15; 1.2.1: 1.6.0_03

  • Using xsl:import in Weblogic

    All,
    I have a requirement to import an XSL template into another XSL template and use one of the methods defined in the imported file into this importing file. The problem is that it works perfectly fine if I do this in XMLSPY .. but if I do this thru weblogic it throws me an error and doesnot perform the action.
    Would appreciate if someone could suggest what I can do to solve this problem.
    Thanks ,
    Adarsh

    This works fine for me with Oracle XSL Processor 9.0.2C
    <!-- a.xsl -->
    <xsl:stylesheet version="1.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <xsl:variable name="PersonId" select="1910"/>
    </xsl:stylesheet>and
    <!-- b.xsl -->
    <xsl:stylesheet version="1.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <xsl:import href="a.xsl"/>
      <xsl:template match="/">
       <xsl:value-of select="$PersonId"/>
      </xsl:template>
    </xsl:stylesheet>Make sure you're using the latest version of the XDK in your
    weblogic environment.

  • ICE produces invalid code

    Having defined two editable and one repeating regions in a page, I ran it through the W3C validator which reported this and similar errors: "Attribute "ice:repeating" is not a valid attribute", all errors generated by the ICE divs.
    I searched through Adobe Support and came across this helpful article: http://www.adobe.com/devnet/dreamweaver/articles/incontext_applying_unob_code.html.
    I downloaded and installed the Markup Extractor Extension, and although the page now validates, I can't edit it on the web as I get this message when I try to save changes:
    "You cannot save this page. Reason: The content you are trying to save contains unallowed tags or dynamic code." (The page in question is here: http://www.sebastianstanley.com/engagements_valid.html) and I was able to edit it before I ran the extension...
    Any suggestions, please?
    And another question: is Adobe going to address the issue of the invalid code that ICE generates?
    Thanks,
    Marie

    Thanks, Tom, I'm glad to see that I'm not alone in considering this unacceptable.  Quite frankly I'm astounded that Adobe should see fit to release a product that is seriously flawed.  My web site trumpets the fact that every site I produce is W3C-compliant, and I'm not willing to compromise my standards.
    I see that Corey asks what you consider unacceptable in Adobe's workaround... I'd say that inability to edit ICE regions with the Property inspector after you've run the tool is an inconvenience that I can live with, but being unable to edit the site (see my previous post) renders the whole thing useless!  In short, I'm damned if I do and damned if I don't!
    The irony is that Adobe states that ICE will only work with valid coding... shouldn't this read "Give us your valid coding, and we'll mess it up..."?!

  • Invalid entry CRC  - Bad WebLogic 5.1 Download? -

    Does this indicate a corrupted download? The .zip file does not fully unzip
    without error.
    [weblogic@machine weblogic]$ jar -xf weblogic510.zip
    java.util.zip.ZipException: invalid entry CRC (expected 0x3b1b22da but got
    0xf1863a15)
    at java.util.zip.ZipInputStream.readEnd(ZipInputStream.java,
    Compiled Code)
    at java.util.zip.ZipInputStream.read(ZipInputStream.java, Compiled
    Code)
    at sun.tools.jar.Main.extractFile(Main.java, Compiled Code)
    at sun.tools.jar.Main.extract(Main.java, Compiled Code)
    at sun.tools.jar.Main.run(Main.java, Compiled Code)
    at sun.tools.jar.Main.main(Main.java, Compiled Code)
    Regards,
    John

    Bad memory turned out to be the reason!
    "visor-palm John" <j$ohn$[email protected]> wrote in message
    news:[email protected]..
    SUN JDK1.2.2 (006) FCS
    "Mark Griffith" <[email protected]> wrote in message
    news:39ca29f1$[email protected]..
    Typically or a weird VM. What is JDK your using to run jar?
    cheers
    mbg
    "visor-palm John" <j$ohn$[email protected]> wrote in message
    news:[email protected]..
    Does this indicate a corrupted download? The .zip file does not fullyunzip
    without error.
    [weblogic@machine weblogic]$ jar -xf weblogic510.zip
    java.util.zip.ZipException: invalid entry CRC (expected 0x3b1b22da but
    got
    0xf1863a15)
    at java.util.zip.ZipInputStream.readEnd(ZipInputStream.java,
    Compiled Code)
    at java.util.zip.ZipInputStream.read(ZipInputStream.java,Compiled
    Code)
    at sun.tools.jar.Main.extractFile(Main.java, Compiled Code)
    at sun.tools.jar.Main.extract(Main.java, Compiled Code)
    at sun.tools.jar.Main.run(Main.java, Compiled Code)
    at sun.tools.jar.Main.main(Main.java, Compiled Code)
    Regards,
    John

  • Javax.faces.STATE_SAVING_METHOD produces invalid XHTML

    Hi to all,
    it seems that setting the value javax.faces.STATE_SAVING_METHOD in the web.xml causes invalid XHTML code.
    I checked the produced code using the validator of w3.org.
    All of the errors are caused by the input field which should save the state. Here are the errors:
    ID "jsf_tree_64" already defined.
    ID "jsf_state_64" already defined.
    ID "jsf_viewid" already defined.These 3 errors are repeated very often. What's wrong here?
    Please help. Thanks
    Manuel

    I have just come across the same problem. I am somewhat of a perfectionist when it comes to meeting W3C specs, and I was wondering if anyone out there knows of any work to correct this minor, but annoying problem?

  • I'm producing 'invalid NUMBER OF arguements' - but where?

    afternoon gurus..
    This line was bringing a 'ORA-00932: inconsistent datatypes: expected DATE got NUMBER' WHEN it was this..
    , DECODE(SIGN(TRUNC(apid.accounting_date)- TRUNC('14-jun-2011')),1,0, ROUND(NVL(apid.quantity_invoiced,0),2) )
    ,apid.accounting_date, NVL(apid.quantity_invoiced,0)
    ..so I added a 'to_date' TO it..
    , DECODE(SIGN(TRUNC(apid.accounting_date)- TRUNC(TO_DATE('14-jun-2011','dd-mon-yyyy')),1,0, ROUND(NVL(apid.quantity_invoiced,0),2) )
    ,apid.accounting_date, NVL(apid.quantity_invoiced,0)
    ..AND it now produces THE 'invalid NUMBER OF arguements' message..
    how DO I get OVER this please?
    TIA..
    Joe

    Missing a bracket I think...
    DECODE(SIGN(TRUNC(apid.accounting_date)- TRUNC(TO_DATE('14-jun-2011','dd-mon-yyyy')),1,0, ROUND(NVL(apid.quantity_invoiced,0),2) )should be
    DECODE(SIGN(TRUNC(apid.accounting_date)-TRUNC(TO_DATE('14-jun-2011','dd-mon-yyyy'))),1,0, ROUND(NVL(apid.quantity_invoiced,0),2) )

  • V2.1 - Exporting DATE columns produces invalid SQL

    If you export a table with a column of type DATE, the SQL produced is invalid:
    Left-click on table in tree view -> Click on "Data" tab -> Right click on data -> Export Data -> Insert -> Clipboard:
    to_timestamp('01-SEP-09 17:49:21','DD-MON-RR HH.MI.SSXFF AM')
    I have seen this work correctly, but I can't find the right combination now... but in this case the date format should be:
    to_timestamp('01-SEP-09 17:49:21','DD-MON-RR HH24.MI.SSXFF')
    Edited by: gclough on Jan 4, 2010 3:54 PM

    Hi,
    I encountered this problem since the EA and Vasan (one of the SQL Dev's team) gave the solution for this.
    >
    You can add the following in the sqldeveloper.conf to ensure that the driver doesn't report the column type of a DATE column as TIMESTAMP.
    AddVMOption -Doracle.jdbc.mapDateToTimestamp=false
    >
    As you can see on
    Re: 2.1 EA1: Problems on Date type columns
    I wonder, why this isn't included on the default installation of the product, since it is absolutely wrong to use Timestamp for Date type column on the first place.
    Regards,
    Buntoro

  • V2.1 - Exporting CLOBS produces invalid SQL

    When you export a table that has a CLOB via either of these methods, the SQL it produces is invalid (Quotes, Blank Lines, etc.) :
    1. "Tools -> Database Export"
    2. Right-click on the results page, then export as "Insert" to the clipboard
    Insert into JAVASCRIPT (ID,FUNCTION_NAME,NAME,DESCRIPTION,VALID,FUNCTION,NUMBER_OF_ARGUMENTS,JAVASCRIPT,LAST_MODIFIED_DATE) values (26,'buildParameterizedUrl','Build Parameterized URL','Build Parameterized URL',1,1,3,'function buildParameterizedUrl(url, paramArray, valueArray)
    url += '?';
    var first = true;
    for(var i in paramArray)
    if(first)
    first = false;
    else
    url += '&';
    *url += paramArray[i] + '=' + valueArray;*
    return url;
    *',to_timestamp('16-JUL-09 09.52.30.000000000 AM','DD-MON-RR HH.MI.SS.FF AM'));*

    Hi,
    I encountered this problem since the EA and Vasan (one of the SQL Dev's team) gave the solution for this.
    >
    You can add the following in the sqldeveloper.conf to ensure that the driver doesn't report the column type of a DATE column as TIMESTAMP.
    AddVMOption -Doracle.jdbc.mapDateToTimestamp=false
    >
    As you can see on
    Re: 2.1 EA1: Problems on Date type columns
    I wonder, why this isn't included on the default installation of the product, since it is absolutely wrong to use Timestamp for Date type column on the first place.
    Regards,
    Buntoro

  • EDIReceive Pipeline split 820 file, produce invalid xml output

    I am using  BizTalk 2013.   X12_00501_820 schema comes from biztalk in-box schema with a tiny little change to add annotations such as
    subdocument_creation_break="yes" to enable spliting.
    For my testing, I applied subdocument_creation_break in loop 2000A and 2000B
    The biztalk do consume the 820 file and split the file. the problem is the file it split is not a valid xml. a ">" is missing in the output xml, making whole xml invalid
    The error happen in ENT_SubLoop element
    output xml in this part looks like that:
    <ns0:ENT_SubLoop<ns0:TS820_2000B_Loop xmlns:ns0="http://schemas.microsoft.com/BizTalk/EDI/X12/2006">
    The ">" for ENT_SubLoop is missing.

    I am experiencing a nearly identical problem, only I am using BizTalk 2010:
    <ns0:ENT_SubLoop<ns0:TS820_2000B_Loop_Loop<ns0:TS820_2000B_Loop xmlns:ns0="http://schemas.microsoft.com/BizTalk/EDI/X12/2006">
    The ">" for ENT_SubLoop is missing from the generated XML.
    I applied the subdocument_creation_break as follows:
    - <xs:element name="TS820_2000B_Loop">
    - <xs:annotation> <xs:documentation>Loop for Individual Remittance</xs:documentation>
    - <xs:appinfo>
      <b:recordInfo
    structure="delimited" field_order="infix"
    delimiter_type="inherit_record" subdocument_creation_break="yes"
    count_ignore="yes" xmlns:b="http://schemas.microsoft.com/BizTalk/2003" trigger_field="ENT_IndividualRemittance/ENT02_EntityIdentifierCode"
    trigger_value="2J" />
    </xs:appinfo>
    </xs:annotation>
    - <xs:complexType>
    - <xs:sequence>
      <xs:element
    minOccurs="1" maxOccurs="1" ref="ENT_IndividualRemittance"
    />
      <xs:element
    minOccurs="0" maxOccurs="unbounded" ref="TS820_2100B_Loop"
    />
      <xs:element
    minOccurs="0" maxOccurs="unbounded" ref="TS820_2200B_Loop"
    />
      <xs:element
    minOccurs="1" maxOccurs="unbounded" ref="TS820_2300B_Loop"
    />
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    This appears to be a problem with the EDI disassembler. 
    Has anyone else experienced this?  Any known fix or easy workaround?

  • Scriptgen produces invalid install script for Gemplus

    Hi
    I have developed an applet for JavaCard using JCDK 2.2.1. Following the proceedure described in JCDK user's guide I have created a capfile and from that created script with scriptgen.
    Now, I am ready to install the applet on a GemPlus GemXplore v. 3.2 card using pcsc-lite 1.2.9 w. ccid 0.9.3 on FreeBSD.
    The problem is that it appears the Gemplus card does not support the same APDU commands for installing the applet: Using formaticc I get errors 6D00 and 6E00.
    The first only occurs for the APDU command that the JCDK user's guide requieres me to insert in the top of the script. The rest of the commands produces an 6E00 error.
    I have found a document describing the various APDU commands for GemXpresso 211 V2 card, but I have no documentation on the APDU commands for neither JCDK nor GemXplore.
    How do I rewrite the JCDK APDU commands for GemPlus?
    Thanks!!! Erik
    Below is the debugging output pcscd produced, included APDU commands and responces.
    Script started on Tue Oct 18 16:03:39 2005
    pcscdaemon.c:242:main() pcscd set to foreground with debug send to stderr
    debuglog.c:143:DebugLogSetLevel() debug level=debug
    debuglog.c:172:DebugLogSetCategory() Debug options: APDU
    pcscdaemon.c:446:main() pcsc-lite 1.2.9-beta7 daemon ready.
    hotplug_libusb.c:371:HPAddHotPluggable() Adding USB device: /dev/usb2:/dev/ugen1
    readerfactory.c:1066:RFInitializeReader() Attempting startup of GemPC Twin 00 00.
    readerfactory.c:940:RFBindFunctions() Loading IFD Handler 3.0
    ifdhandler.c:998:init_driver LogLevel: 0x0003
    ifdhandler.c:1009:init_driver DriverOptions: 0x0000
    ifdhandler.c:67:IFDHCreateChannelByName lun: 0, device: usb:08e6/3437:libusb:/dev/usb2:/dev/ugen1
    ccid_usb.c:225:OpenUSBByName Manufacturer: Ludovic Rousseau ([email protected])
    ccid_usb.c:235:OpenUSBByName ProductString: Generic CCID reader v0.9.3
    ccid_usb.c:241:OpenUSBByName Copyright: This driver is protected by terms of the GNU General Public License version 2, or (at your option) any later version.
    ccid_usb.c:376:OpenUSBByName Found Vendor/Product: 08E6/3437 (GemPC Twin)
    ccid_usb.c:378:OpenUSBByName Using USB bus/device: /dev/usb2//dev/ugen1
    ifdhandler.c:239:IFDHGetCapabilities lun: 0, tag: 0xFAE
    ifdhandler.c:689:IFDHPowerICC lun: 0
    Card ATR: 3B 3F 95 00 80 65 AF 03 18 21 92 73 1A 21 5B 83 0F 90 00
    winscard_msg.c:197:SHMProcessEventsServer() Common channel packet arrival
    winscard_msg.c:206:SHMProcessEventsServer() SHMProcessCommonChannelRequest detects: 7
    pcscdaemon.c:136:SVCServiceRunLoop() A new context thread creation is requested: 7
    winscard_svc.c:103:ContextThread() Thread is started: 7
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard_svc.c:145:ContextThread() Client is protocol version 2:0
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:69:SCardEstablishContext() Establishing Context: 17017950
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:123:SCardConnect() Attempting Connect to GemPC Twin 00 00 using protocol: 3
    prothandler.c:126:PHSetProtocol() Attempting PTS to T=0
    ifdhandler.c:373:IFDHSetProtocolParameters lun: 0, protocol T=0
    towitoko/atr.c:351:ATR_GetDefaultProtocol no default protocol found in ATR. Using T=0
    winscard.c:231:SCardConnect() Active Protocol: T=0
    winscard.c:238:SCardConnect() hCard Identity: 195f4
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:791:SCardBeginTransaction() Status: 0.
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 00 A4 04 00 09 A0 00 00 00 62 03 01 08 01 7F
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6A 80
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 80 B0 00 00 00 7F
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 80 B2 01 00 00 7F
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 80 B4 01 00 20 01 00 22 DE CA FF ED 02 02 04 00 01 05 BC 00 00 00 00 12 73 06 06 28 70 00 07 28 00 00 00 00 E8 E7
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 63 75 72 65 70
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 80 B4 01 00 05 70 70 6C 65 74 7F
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 80 BC 01 00 00 7F
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 80 B2 02 00 00 7F
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 80 B4 02 00 20 02 00 21 00 22 00 21 00 0E 00 29 01 0A 00 16 09 2D 00 0A 01 03 06 28 70 00 07 28 00 00 00 00 E8 E7
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 00 00 02 32 11 A1 00 00 00 00 00 7F 00 0E
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6D 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 80 B4 02 00 04 00 04 01 00 7F
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 80 BC 02 00 00 7F
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 80 B2 04 00 00 7F
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 80 B4 04 00 20 04 00 29 04 02 01 07 A0 00 00 00 62 01 01 02 01 07 A0 00 00 00 06 28 70 00 07 28 00 00 00 00 E8 E7
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 80 B4 04 00 0C 00 01 02 01 07 A0 00 00 00 62 02 01 7F
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 80 BC 04 00 00 7F
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 80 B2 03 00 00 7F
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 80 B4 03 00 11 03 00 0E 01 0A BC 00 00 00 00 43 72 79 70 74 01 2C 7F
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 80 BC 03 00 00 7F
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 80 B2 06 00 00 7F
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 80 B4 06 00 19 06 00 16 00 00 00 80 03 0F 00 0A 04 05 00 00 01 3E FF FF FF 0F 06 28 70 00 07
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 01 41 01 3A 7F 06 00 16 00 00 00 80 03 0F 00
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 80 BC 06 00 00 7F
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 80 B2 07 00 00 7F
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 80 B4 07 00 20 07 09 2D 0A 04 43 80 06 04 4B 00 35 04 55 80 06 04 5D 00 35 00 06 28 70 00 07 28 00 00 00 00 E8 E7
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 20 80 0A 07 2C 00 35
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 80 B4 07 00 20 07 3F 00 35 08 10 80 0E 08 20 00 35 08 32 80 0B 08 3F 00 35 00 06 28 70 00 07 28 00 00 00 00 E8 E7
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 56 80 0B 08 63 00 35 08
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 80 B4 07 00 20 08 97 00 35 08 A9 80 0B 08 B6 00 35 08 CD 80 0B 08 DA 00 35 00 06 28 70 00 07 28 00 00 00 00 E8 E7
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 42 18 8C 00 13
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 80 B4 07 00 20 14 89 01 18 AF 01 05 8D 00 39 87 02 18 04 88 03 18 11 02 00 08 06 28 70 00 07 28 00 00 00 00 E8 E7
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 04 18 06 05 8D 00 17 87 05
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 80 B4 07 00 20 05 03 24 94 00 00 0F 87 06 18 AD 05 04 24 94 00 00 15 87 07 01 06 28 70 00 07 28 00 00 00 00 E8 E7
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: AD 05 05 24 94 00 00 19
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 80 B4 07 00 20 11 00 FF 05 8D 00 39 87 09 1F 06 6C 2D 19 1E 59 02 01 25 29 00 06 28 70 00 07 28 00 00 00 00 E8 E7
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 19 1E 59 02
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 80 B4 07 00 20 25 8D 00 10 29 05 16 04 60 07 18 16 04 88 03 16 05 60 07 18 01 06 28 70 00 07 28 00 00 00 00 E8 E7
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 05 89 04 18 8F 00
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 80 B4 07 00 20 04 8C 00 12 87 0A AD 0A 8B 00 14 18 10 10 90 0B 87 0B 18 AE 00 06 28 70 00 07 28 00 00 00 00 E8 E7
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 80 B4 07 00 20 18 90 0B 87 0D 19 1E 59 02 01 25 29 04 16 04 08 6D 08 18 8B 00 06 28 70 00 07 28 00 00 00 00 E8 E7
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 80 B4 07 00 20 11 67 00 8D 00 1B 18 19 1E 16 04 8B 00 1C 7A 05 30 8F 00 1D 03 06 28 70 00 07 28 00 00 00 00 E8 E7
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 18 1D 1E 8C 00 1E 3B 7A 01 20 04 7F 19
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 80 B4 07 00 20 78 00 10 7A 02 21 18 8B 00 1F 60 03 7A 19 8B 00 20 2D 1A 03 02 06 28 70 00 07 28 00 00 00 00 E8 E7
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 10 C0 6A 08 11
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 80 B4 07 00 20 04 25 75 00 A5 00 0F FF A0 00 63 FF A2 00 69 FF A4 00 70 FF 0C 06 28 70 00 07 28 00 00 00 00 E8 E7
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 80 B4 07 00 20 C6 00 8B FF C8 00 91 FF D0 00 97 FF E0 00 9E 00 00 00 41 00 00 06 28 70 00 07 28 00 00 00 00 E8 E7
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 80 B4 07 00 20 14 00 5C 18 19 8C 00 21 70 65 18 19 8C 00 22 70 5E 18 19 8C 00 06 28 70 00 07 28 00 00 00 00 E8 E7
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 80 B4 07 00 20 8C 00 24 70 4A 11 6D 00 8D 00 1B 18 19 8C 00 25 70 3D 18 19 08 06 28 70 00 07 28 00 00 00 00 E8 E7
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 00 26 70 36 11 6D 00 8D 00 1B 18 7F
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6D 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 80 B4 07 00 20 19 8C 00 27 70 29 18 19 8C 00 28 70 22 11 6D 00 8D 00 1B 11 06 06 28 70 00 07 28 00 00 00 00 E8 E7
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 00 8D 00 1B 18 19 8C 00 29 70 0F 7F 19
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6D 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 80 B4 07 00 20 18 19 8C 00 29 70 08 11 6D 00 8D 00 1B 7A 02 20 18 AD 09 8C 00 06 28 70 00 07 28 00 00 00 00 E8 E7
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 80 B4 07 00 20 8B 00 20 2D 19 8B 00 2B 05 6A 08 11 67 00 8D 00 1B 19 05 8B 00 06 28 70 00 07 28 00 00 00 00 E8 E7
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 80 B4 07 00 20 03 05 8B 00 2E 7A 05 21 19 8B 00 20 2D 19 8B 00 2B 10 10 6A 00 06 28 70 00 07 28 00 00 00 00 E8 E7
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 11 67 00 8D 00 1B 19 10
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 80 B4 07 00 20 2C AD 0B 03 1A 03 10 10 8D 00 2F 3B 19 03 10 10 8B 00 2E 7A 00 06 28 70 00 07 28 00 00 00 00 E8 E7
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 22 18 AD 09 8C
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 80 B4 07 00 20 09 03 10 10 8D 00 30 60 08 11 69 86 8D 00 1B 19 8B 00 20 2D 00 06 28 70 00 07 28 00 00 00 00 E8 E7
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 80 B4 07 00 20 08 11 67 00 8D 00 1B 1A 07 25 10 10 6A 08 11 67 00 8D 00 1B 01 06 28 70 00 07 28 00 00 00 00 E8 E7
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 08 AD 09 03 10 10 8D 00 30 61
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 80 B4 07 00 20 11 69 84 8D 00 1B 1A 08 AD 0B 03 10 10 8D 00 2F 10 10 6A 08 01 06 28 70 00 07 28 00 00 00 00 E8 E7
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 80 B4 07 00 20 10 10 8D 00 30 61 08 11 62 00 8D 00 1B 7A 06 24 19 8B 00 20 02 06 28 70 00 07 28 00 00 00 00 E8 E7
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 03 1A 07 25 55 32 19 8B 00 31 1F 7F 11
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 80 B4 07 00 20 6A 08 11 67 00 8D 00 1B 08 29 04 1A 07 25 05 6D 08 11 67 00 08 06 28 70 00 07 28 00 00 00 00 E8 E7
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 00 1B 03 1A 16 04 59 04 01 25 55 7F 1B
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6D 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 80 B4 07 00 20 29 05 16 05 16 04 41 1A 92 6F 08 11 67 00 8D 00 1B 16 05 61 01 06 28 70 00 07 28 00 00 00 00 E8 E7
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 18 AD 02 8C 00 2A AD 0D 03 AD 02 7F 1A
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 80 B4 07 00 20 03 AF 01 8D 00 30 60 31 11 69 86 8D 00 1B 70 29 16 04 16 05 04 06 28 70 00 07 28 00 00 00 00 E8 E7
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 80 B4 07 00 20 1A 16 04 16 05 8C 00 32 60 08 11 6F AF 8D 00 1B 16 04 16 05 04 06 28 70 00 07 28 00 00 00 00 E8 E7
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 80 B4 07 00 20 29 05 16 05 16 04 41 1A 92 6F 08 11 67 00 8D 00 1B 16 05 10 07 06 28 70 00 07 28 00 00 00 00 E8 E7
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 6F 08 11 69 84 8D 00 1B AD 0C 8B
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 80 B4 07 00 20 00 33 18 AD 02 8C 00 2A AD 0C 1A 16 04 16 05 AD 02 03 8B 00 03 06 28 70 00 07 28 00 00 00 00 E8 E7
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: AF 01 6A 08
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 80 B4 07 00 20 AD 09 8C 00 2A AD 02 03 AD 09 03 AF 01 8D 00 30 61 08 11 69 08 06 28 70 00 07 28 00 00 00 00 E8 E7
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 8D 00 1B AD
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 80 B4 07 00 20 8D 00 2F AF 01 6A 08 11 69 85 8D 00 1B AD 0D 03 AD 02 03 AF 00 06 28 70 00 07 28 00 00 00 00 E8 E7
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 80 B4 07 00 20 7A 05 22 19 8B 00 20 2D 03 1A 07 25 55 32 19 8B 00 31 1F 6A 00 06 28 70 00 07 28 00 00 00 00 E8 E7
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 11 67 00 8D 00 1B 18 1A
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 80 B4 07 00 20 25 8C 00 32 60 08 11 6F AF 8D 00 1B 7A 03 23 19 8B 00 20 2D 00 06 28 70 00 07 28 00 00 00 00 E8 E7
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 80 B4 07 00 20 00 1F 00 01 00 0D AD 0A 8B 00 36 2E 70 24 28 04 11 6F CE 8D 00 06 28 70 00 07 28 00 00 00 00 E8 E7
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 80 B4 07 00 20 28 04 11 6F CE 8D 00 1B 70 08 11 6A 86 8D 00 1B 03 29 04 1A 00 06 28 70 00 07 28 00 00 00 00 E8 E7
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 25 73 00 53 00 00
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 80 B4 07 00 20 1F 00 39 1B 8E 01 00 38 03 60 07 04 29 04 70 41 03 29 04 70 03 06 28 70 00 07 28 00 00 00 00 E8 E7
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 1B 8E 01 00 38 03 60 0C 1B 8E 01 7F
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 80 B4 07 00 20 00 38 02 29 04 70 2A 11 69 85 8D 00 1B 70 22 1B 8E 01 00 38 00 06 28 70 00 07 28 00 00 00 00 E8 E7
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 80 B4 07 00 20 10 11 69 85 8D 00 1B 70 08 11 6A 86 8D 00 1B 19 8B 00 2B 05 06 06 28 70 00 07 28 00 00 00 00 E8 E7
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 08 11 67 00 8D 00 1B 19 05 8B
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 80 B4 07 00 20 2C 1A 03 16 04 8D 00 2D 3B 19 03 05 8B 00 2E 7A 05 26 19 8B 00 06 28 70 00 07 28 00 00 00 00 E8 E7
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 80 B4 07 00 20 31 1F 6A 08 11 67 00 8D 00 1B 01 28 04 1A 05 25 75 00 32 00 00 06 28 70 00 07 28 00 00 00 00 E8 E7
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 80 B4 07 00 20 00 37 28 04 70 24 18 1A 08 1A 07 25 8C 00 32 61 0B AD 0A 8B 00 06 28 70 00 07 28 00 00 00 00 E8 E7
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 80 B4 07 00 20 70 08 11 6A 86 8D 00 1B 15 04 8E 01 00 38 03 61 08 11 69 85 08 06 28 70 00 07 28 00 00 00 00 E8 E7
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 00 1B 18 AD 09 8C 00 2A 18 03 89 7F 1B
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6D 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 80 B4 07 00 20 0E 15 04 8E 01 00 38 02 73 00 FD 00 04 00 06 00 0D 00 4E 00 08 06 28 70 00 07 28 00 00 00 00 E8 E7
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 15 04 94 00 00 3A 28 05 1A 06 25 7F 02 73
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 80 B4 07 00 20 75 00 2D 00 02 00 01 00 0D 00 02 00 1D 18 15 05 AD 09 03 8E 00 06 28 70 00 07 28 00 00 00 00 E8 E7
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 80 B4 07 00 20 AD 09 03 8E 03 00 3A 05 89 0E A8 00 C1 11 6A 86 8D 00 1B A8 00 06 28 70 00 07 28 00 00 00 00 E8 E7
    ifdhandler.c:799:IFDHTransmitToICC lun: 0
    SW: 6E 00
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard_msg.c:263:SHMProcessEventsContext() correctly processed client: 7
    winscard.c:1375:SCardTransmit() Send Protocol: T=0
    APDU: 80 B4 07 00 20 25 75 0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Looking carefully at the debugging output, it occurred to me that I might just not be using the right AID to select the installer on this particular card. (Why should it be different?) If anyone knows what it is I'd appreciate a lot!
    Thanks, Erik

  • Wscompile produces invalid code..

    Hi,
    I am limited as to what I can post, so please forgive the brevity of information. I will try to post whatever I can in responses.
    Running wscompile -gen:server -f:documentliteral -f:wsi -mapping jaxrpc-mapping-server.xml -keep -Xprintstacktrace -verbose src/ws-conf/server-wscompile-config.xmlagainst my WSDL file produces many of the artifacts I would expect, except the ResponseType_LiteralSerializer.java file has the following method:
        public java.lang.Object doDeserialize(XMLReader reader,
            SOAPDeserializationContext context) throws java.lang.Exception {
            com.test.server.stubs.ResponseType instance = new com.test.server.stubs.ResponseType();
            java.lang.Object member=null;
            javax.xml.namespace.QName elementName;
            java.util.List values;
            java.lang.Object value;
            reader.nextElementContent();
            while (reader.getState() == XMLReader.START) {
                elementName = reader.getName();
                if ((reader.getState() == XMLReader.START) && (elementName.equals(ns1_StdTrans_QNAME))) {
                    values = new ArrayList();
                    for(;;) {
                        elementName = reader.getName();
                        if ((reader.getState() == XMLReader.START) && (elementName.equals(ns1_StdTrans_QNAME))) {
                            value = ns1_myStdTransType_LiteralSerializer.deserialize(ns1_StdTrans_QNAME, reader, context);
                            if (value == null) {
                                throw new DeserializationException("literal.unexpectedNull");
                            values.add(value);
                            reader.nextElementContent();
                        } else {
                            break;
                    member = new com.test.server.stubs.StdTransType[values.size()];
                    member = values.toArray((Object[]) member);
                    instance.setStdTrans((com.metadata.udbms.server.stubs.StdTransType[])member);
                else {
                    instance.setStdTrans(new com.test.server.stubs.StdTransType[0]);
                else {
                    throw new DeserializationException("literal.unexpectedElementName", new Object[] { elementName, reader.getName()});
            XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
            return (java.lang.Object)instance;
        }Any one else see the if..else..else? The compiler sure does! Any ideas on what could have caused that (without me posting much more)? The JWSDP site has no specific forums, so I'm hoping this is the best place to ask.
    Thanks,
    Mike

    Thanks for the overwhelming support, as seems to be about typical for these forums.
    It turns out specifying an aggregator of "all" and then specifying a subelement with maxOccurs="unbounded" causes this problem. Instead of just saying "Hey stupid, check your schema", wscompile just charges on blindly.

Maybe you are looking for