'External Parameter Entity' error?

Hi all,
I wrote some XML tools a few months back using the Crimson, JAXP, and Xalan packages.
I have just revisited that code, intending to start a new XML project, but for some reason all the old source code will compile okay but I get the following run-time error (even on very simple apps):
A nonfatal internal JIT (3.00.078(x)) error 'Relocation error: NULL relocation t
arget' has occurred in :
'org/apache/crimson/parser/Parser2.maybeComment (Z)Z': Interpreting method.
Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg
i
error1: External parameter entity "%[dtd];" has characters after markup.
I've been a little out of touch with what's going on with Java/XML lately, so I was hoping someone could get me up to date and tell me what's wrong.
thanks!

I have the same experience. After I correct the error in my dtd file, the message dissapears. Good luck.

Similar Messages

  • EXTERNAL PARAMETER ENTITY  CREATION

    Hi All
    I am creation the XML file using SAP XML DOM Library objects.
    Our requirement is to create the EXTERNAL PARAMETER ENTITY Declaration using DOCTYPE tag.
    For Example
    <!DOCTYPE descriptSol [
    <!ENTITY % references SYSTEM "P_899200_SD01_01.ref">;
    %references
    ]>
    We are using following method to create it:
    DATA:
    lo_doc_type                 TYPE REF TO if_ixml_document_type,
    lo_entity_dec               TYPE REF TO if_ixml_entity_decl,
              CALL METHOD go_document->create_document_type
                EXPORTING
                  name =  'descriptSol'
                RECEIVING
                  rval = lo_doc_type.
              CALL METHOD go_document->set_document_type
                EXPORTING
                  document_type = lo_doc_type.
              CALL METHOD lo_doc_type->create_ext_entity_decl
                EXPORTING
                  is_parameter_entity = 'X'
                  name                            = 'references'
                  notation                       = ''
                  public_id                      = ''
                  system_id                   = 'P_899200_SD01_01.ref'
                RECEIVING
                  rval                               = lo_entity_dec
              CALL METHOD lo_doc_type->append_child
                EXPORTING
                  new_child = lo_entity_dec
                RECEIVING
                  rval      = lw_rval.
    The Above code is working and creating following tag in the XML document:
    <!DOCTYPE descriptSol [
    <!ENTITY % references SYSTEM "P_899200_SD01_01.ref">;
    ]>;
    So hereu201D%referencesu201D at end of the declaration is missing.
    This type of entity is called as "EXTERNAL (PARSED) PARAMETER ENTITY Declaration".
    Give your suggestions that whether we are using right method to created External entity reference or not.
    Thanks in advance
    Sukhjinder Singh

    I have the same experience. After I correct the error in my dtd file, the message dissapears. Good luck.

  • XML parsing error: xml processing instruction not at start of external entity (error code 17)

    I created a form and recieve the filled in form by email from participants. It has always worked in the past. Recently when importing data into the master form (from filled in forms in xml files sent by applicants) I am getting this error message..."xml processing instruction not at start of external entity (error code 17), line 2, column 1...." pointing to the file of data (xml) I am trying to input.  If I pull up old data forms (from 2009) they work, but now I am getting this error.  I run Adobe Design Premium CS3 for Windows.  Can anyone tell me what to do to fix?

    I created a form and recieve the filled in form by email from participants. It has always worked in the past. Recently when importing data into the master form (from filled in forms in xml files sent by applicants) I am getting this error message..."xml processing instruction not at start of external entity (error code 17), line 2, column 1...." pointing to the file of data (xml) I am trying to input.  If I pull up old data forms (from 2009) they work, but now I am getting this error.  I run Adobe Design Premium CS3 for Windows.  Can anyone tell me what to do to fix?

  • Problem in parsing-invalid use of a parameter entity reference

    Hi
    I am getting an error in parsing the xml message. The first few lines of DTD are as follows.
    <!ENTITY % contractIdentifier "contractRef , branch">
    <!ENTITY % ccyDetails "amount , settlementDate , dealRate">
    <!ENTITY % schedule "count , schedule">
    <!ENTITY % paymentDetails "payIndicator , ourPayAccount , theirAgent ,
    theirAgentsAgent , beneficiaryAccount , receiveIndicator , ourReceiveAccount
    , suppressCable , suppressConfirmation , pvpIndicator">
    <!ENTITY % commonCore "%paymentDetails; , narrative* , abaNumber ,
    cleanRiskIndicator , creditLine , directSent , federalFundsFlag , chipsCode
    , riskTakingUnit">
    I am getting the error as
    invalid use of a parameter entity reference line no 5.
    Can somebody help me
    Thanks
    Prashant

    Parameter entity references may not be used within markup in an internal DTD.
    To use a DTD with parameter entity reference use a external DTD.

  • "Missing parameter values" error on Export

    Hi,
    I am getting "Missing Parameter Values" error if all required parameter values are not passed in the report through application. Same error is not coming when all the parameters are passed.
    And parameter window also not displaying if all parameters are not passed to the report for export option. (Parameter window displaying on preview option if all the parameters are not supplied).
    I have tried both Report Viewer's ExportReport function & ReportDocument's Export function. But both are results same.
    Software details:
    Crystal Report created in Version: 10.0.0.533
    .Net 2005
    10.2 Crystal component. Crystal Runtime Version - v2.0.50727 and DLL Version - 10.2
    Please help me to resolve this issue.
    Thanks,
    Venkateswaran.P

    Given example is not working as expected.
    1) Calling of  ExportReport() function invokes the file Save As window to save the exported file eventhough exported path & file name supplied in the program.
    2) After accepting the output file name, "Missing parameter values" error coming instead of displaying Crystal's Parameter window.
    Below is the piece of code to export the output. I am calling Export() function if all the parameters are supplied by the application otherwise i am calling Viewer's ExportReport() fuction. Please have a look and let me know if any code change is required.
                   ReportDocument crRepDocument;
                   String m_strExportPath;
                    Boolean bUseRepViewExport = false;
                    if( crRepDocument.ParameterFields.Count > 0 )
                        if (m_Parameters.Count < crRepDocument.ParameterFields.Count)
                                bUseRepViewExport = true ;
                    ExportOptions crExportOptions;
                    DiskFileDestinationOptions crDiskFileDestinationOptions;
                    crDiskFileDestinationOptions = new DiskFileDestinationOptions();
                    crExportOptions = crRepDocument.ExportOptions;
                    if (base.m_ExportFormat == eExportFormat.RTF)
                       crDiskFileDestinationOptions.DiskFileName = base.m_strExportPath + ".rtf";
                        crExportOptions.ExportDestinationType = ExportDestinationType.DiskFile;
                        crExportOptions.ExportFormatType = ExportFormatType.RichText;
                        crExportOptions.DestinationOptions = crDiskFileDestinationOptions;
                    else if (base.m_ExportFormat == eExportFormat.PDF)
                        crDiskFileDestinationOptions.DiskFileName = base.m_strExportPath + ".pdf";
                        crExportOptions.DestinationOptions = crDiskFileDestinationOptions;
                        crExportOptions.ExportDestinationType = ExportDestinationType.DiskFile;
                        crExportOptions.ExportFormatType = ExportFormatType.PortableDocFormat;
                    else if (base.m_ExportFormat == eExportFormat.DOC)
                     if (bUseRepViewExport)  //If all the parameter are not supplied. I calling Viewer
                        FormReportViewer oFormReportViewer = new FormReportViewer();
                        oFormReportViewer.CrystalReportViewer.ReportSource = crRepDocument;
                        oFormReportViewer.CrystalReportViewer.ExportReport();
                        return true;                 
                    else
                        crRepDocument.Export();  //
                        return true;

  • Integration Gateway External System Contact Error

    Hi,
    I have to use Integration Broker to Build an inbound interface and to integrate Inventory with Third Party system. It is an ASynchronous Service Operation.
    I am using the PSFT_EP as local node for Peoplesoft and I have created an External node and used the HTTPTARGET as the connector for that external
    But the ping node is failed for the external node. The error is Integration Gateway External System Contact Error 158,10721. When I copy the URL present in the HTTPTARGET connector and open it in the new tab. The message I am getting is "ACTIVE"
    Edited by: 1010088 on Jun 5, 2013 3:00 PM

    Please review following notes on MOS:
    E-IB:Unable to ping node external server External System Contact Error [ID 637183.1]
    https://support.oracle.com/epmos/faces/DocContentDisplay?id=637183.1
    Integration Broker: Cannot ping external node [ID 622030.1]
    https://support.oracle.com/epmos/faces/DocContentDisplay?id=622030.1

  • ACS Server: External Authentication configuration error

    Hi ALL
    I have installed the ACS server and configure properly and it works fine.
    But whenever i restart the machine, following error message appears on the external database configuration wizard.
    External Authentication Configuration Error
    ACS has encountered a problem while attempting to process your request. This could be due to one of the following:
    An incorrect installation or configuration of the third-party DLLs required to support this External Database
    A corrupt ACS configuration
    So after i found this error, i just restart all the seven services and every things works fine.
    I always encountered the same error message after restarting the machine each time.
    Can any body recomend the solution or can help me to resolve the issue.
    Thanks

    Hi,
    Please try the following workaround.
    1. Go to Start > Programs > Administrative Tools > Services.
    2. Stop the following services in the following order.
    CSAuth
    CSDbSync
    CSLog
    CSMon
    CSRadius
    CSTacacs
    CSAdmin
    3. After stopping the following services, start them all again in the following order.
    CSAdmin
    CSAuth
    CSDbSync
    CSLog
    CSMon
    CSRadius
    CSTacacs
    Please let me know if this was able to help.
    If the above doesn't help, please reinstall the ACS as the dll files that are being used
    by the ACS have been corrupted, before uninstalling and reinstalling, do take a
    backup of ACS server database from System Configuration > ACS backup > Backup Now.
    Also make sure that the ACS is installed on the default drive.
    tnx
    somishra

  • Parameter.config error

    Hai,
    iam getting the error parameter.config could not be located or read in apache webserver,forms and reports webserver when i start the applications.i was asked to do the following
    update the value for the guest user end date to null
    but i checked the value for end date column for guest user.it was already set to null.
    what is the reason iam getting the same error paramter.config could not be located or read .wat else can i do to solve the error.
    Iam a fresher.so help me to solve the error.iam analysing this issue for a long time but i couldnot get a proper solution.
    Regards
    orauser123

    Hi;
    >
    update the value for the guest user end date to null
    but i checked the value for end date column for guest user.it was already set to null.
    what is the reason iam getting the same error paramter.config could not be located or read .wat else can i do to solve the error.Plz follow those notes and see its helpful:
    Cannot Read Value From Field Parameter.Config Error When Starting/Stopping Apache  Doc ID:  298143.1
    adstrtall.sh is failing with error 'Cannot read value from field PARAMETER.CONFIG'   Doc ID:  356434.1
    Regards;
    Helios

  • PARAMETER CONVERSION ERROR

    Hi all,
    We have a strange problem. When run a RFC FM, SAP shows the abap dump and runtime error was PARAMETER CONVERSION ERROR. I use ST22 and find Error analysis was below.
    Parameters:
    P1..................... "XMLConverterMultipleImport failed in ab_xrfcreceive:abxrfccal.c(1328)#"
    P2..................... " error message: not a name character for character entities(2)#"
    P3..................... " error class: Document#"
    so i want to ask what the kind error of this issue. why it said XMLXMLConverterMultipleImport failed. How can i resolve it?
    thank you very much

    Hi Dhamat,
    This  is Z FM and it has 4 parameters with it. These parameters were complex and deep structure. The detail info is below.
    CALL FUNCTION 'Z_RFC'
       EXPORTING
            EXPORT_PARA1     =   "this para is type of INTERNAL TABLE and contains 4 fields
            EXPORT_PARA2     =   "this para is flat structure and contains 3 fields
            EXPORT_PARA3     =   "this para is also type of INTERNAL TABLE and contains 4 fields
          IMPORTING
            DETAILS                  =    IMPORTANT: THIS para is also type of INTERNAL TABLE and it is COMPLEX AND DEEP STRUCTURE. it contains two fields and also type of INTERNAL TABLE.
    I think this issue maybe due to complex and deep structure. but i don't make sure so help me.
    Thanks

  • Multiple selection of parameter SQL error

    Hi,
    I am using BIP Enterprise stand alone, Release 10.1.3.2
    I have a report with 2 parameters: salesperson and clientprospect with the 'multiple selection' and 'can select all' options turned on. My sql query is shown below.
    When I run the report, here are the results with various parameter selection scenarios:
    1-'all' select for both parameters = no results
    2-any single value selected in both parameters = correct results
    3-'all' select in one parameter and any single value selected in the other=no results
    4-two or more values selected in either parameter=sql error ([Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Line 14: Incorrect syntax near ','.)
    As the error message suggests, I looked at line 14, but there is no ',' on line 14.
    Code
    select     RCUST.customer_name as 'Customer Name',
         RCUST.customer_number as 'Customer No.',
         RCUST.branch_id as 'Branch ID',
         RCUST.salesperson as 'Salesperson ID',
    Case tw_relshp_type     
    WHEN 'C' THEN 'CLIENT'
    WHEN 'P' THEN 'PROSPECT'
    Else 'OTHER'
    END AS 'Client Type'
    from     dbo.TREL TREL,
         dbo.RCUST RCUST
    where RCUST.customer_name=TREL.tw_relshp_name
    and tw_relshp_type = :ClientProspect
    and salesperson = :Salesperson
    order by RCUST.branch_id ASC, RCUST.salesperson ASC, RCUST.customer_name ASC
    I cannot figure why I am not getting the correct results in each of the above 4 scenarios.
    I seem to be stuck. I have searched this forum by keyword 'parameter', but I did not find any solutions, hence my post. Any help would be greatly apreciated.
    Thanks,
    Haresh

    Thanks to both of you for your prompt comments. I have tried the where...DECODE clause but I am getting the following message:
    "[Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]'DECODE' is not a recognized function name."
    I will enter a SR in metalink. Maybe they can test and release a patch, as I suspect that this is a bug.
    Haresh

  • External column picker error

    Hi,
    I try to set the external column, but I get error:
    Application error when access /_layouts/15/Picker.aspx, Error=Value cannot be null.  Parameter name: typeName   at System.Type.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)     at Microsoft.SharePoint.WebPartPages.Utility.GetTypeFromAssembly(String
    typeName, Boolean throwOnError, Boolean ignoreCase, Boolean safeLoad)     at Microsoft.SharePoint.ApplicationPages.Picker.OnLoad(EventArgs e)     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Page.ProcessRequestMain(Boolean
    includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    System.ArgumentNullException: Value cannot be null.  Parameter name: typeName    at System.Type.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)     at Microsoft.SharePoint.WebPartPages.Utility.GetTypeFromAssembly(String
    typeName, Boolean throwOnError, Boolean ignoreCase, Boolean safeLoad)     at Microsoft.SharePoint.ApplicationPages.Picker.OnLoad(EventArgs e)     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Page.ProcessRequestMain(Boolean
    includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    Getting Error Message for Exception System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.ArgumentNullException: Value cannot be null.  Parameter name: typeName    
    at System.Type.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)     at Microsoft.SharePoint.WebPartPages.Utility.GetTypeFromAssembly(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean safeLoad)    
    at Microsoft.SharePoint.ApplicationPages.Picker.OnLoad(EventArgs e)     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)    
    at System.Web.UI.Page.HandleError(Exception e)     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest(Boolean
    includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest()     at System.Web.UI.Page.ProcessRequest(HttpContext context)     at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()    
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)A
    Please help,
    I don't understand, where is the problem.
    Thanks,
    Mykie

    Im seeing a lot of "Nulls" could your ECT not be connecting correctly? I've mentioned on another post about there is a version of SharePoint Designer that has a problem with messing up connections. It wouldn't hurt to uninstall your current
    one and install this one.
     http://www.microsoft.com/en-us/download/details.aspx?id=35491
    Hope this helps. I've been watching this form lately because I was told by my MS support tech this has been an issue with a lot of ECT connections.

  • Cannot delete file from external hard drive (error code 36) in Finder, but Terminal is ok

    I have a relatively new Macbook Pro Retina 15" and have a Western Digital 1 TB Passport.  I've been using the passport for about a year now without any problems on older Macbooks in my house.  I used to be able to read and write to this drive no problem.  I am using the Paragon NTFS for Mac software in order to read and write to the NTFS drive.  When I navigate through the drive in Finder, if I try to create a new folder, I do not have a problem.  If I try to delete that folder I just created, I get this error:
    The Finder can’t complete the operation because some data in “untitled folder” can’t be read or written.
    (Error code -36)
    The folder has nothing in it whatsoever.  I just created it.  But if I go to Terminal and I run
    rm -rf "untitled folder"
    This works fine.  Why is Terminal acting different than Finder?  This does not happen on my other Macbooks.  Thanks in advance.

    Thanx for such qucik reply!!! The pages were great, it had an answer for my problem, but unfortunately it also involved me dealing with it only on the MacIntosh HD itself, not on mounted external drive I suppose... So it didn't work they say that there is an icon in the left corner indicating locked folder - I don't see any icon on it. It says you can untick the box to unlock the folder - there is no tick to be unticked. Finally, they say that if I don't have permition or rights I cannot delete it. But how do i change permittion which already says that i can read and write in it? So everything appears to be normal only I cannot delete it. there is not even any warnig telling me I don't have enough rights, it just requires the password and after me typing it in it makes the sound of scraping paper but does nothing more. I aslo had some problems with emptying Trash after being seemingly succesful with one file and had got so far to have them appear in the Trash (no clue how this one actully got there though..) I followd the advice and emptied the Trash with Terminal. The Folder is still there but it shows 0 Kb... So far so good BUT: It is still on the external drive, so I obviously only managed to copy it into the Trash!!! Phew, innit a bit too tight to poor owners, this macbook?? I want my rights back!

  • External hard drive error / disk utility not repairing

    I am having problems with a particular external hard drive. Device is a Transcend StoreJet 25M (640GB) currently formatted in Mac OS Extended (Journaled). It was previously formatted in FAT32, exFat, and also Mac OS Extended (Journaled). It started giving me problems when I used it to store all my music on it. My iTunes library and music files were all stored on it, and at one point iTunes started acting funny - it would play a song for a few seconds, pause, play for a further few seconds, pause again, and so forth. I decided to stop using it and when I shifted the iTunes library to the Mac internal hard drive and the music file into another external hard drive, iTunes worked fine. So I figured it must be a problem with the external hard drive itself.
    I recently reformatted it to Mac OS Extended (Journaled) and transfered some data on to it (include a back up of the music folder). I noticed that Spotlight keeps trying to index the drive but never actually managed. Times indicated for indexing runs into days. The hard drive tends to be slow to load files expecially when there are multiple folders and tiers, and is generally unreliable. It occasionally unmounts, or when I try to unmount it I get an error saying it cannot unmount because it is being used (but no indication as to which app is using it even if all apps are closed except for Finder).
    I tried repairing it using disk utility. The attached image shows the results. It seems that it can't be repaired by disk utility. At this point, and after much deliberation, I would have to questions:
    1. Should I just smash the thing on the floor?
    2. Is there another application I could try and repair it with?
    3. Even though I have reformatted it several times, it keeps giving me the same problem. When I do a disk verification of the hard rive itself it all seems fine, however when I do a disk verification or repair of the volume I get the error shown in the image. Is this a problem being caused during formatting?
    Any help would be much appreciated.

    Oh, I forgot to attach image....
    Message was edited by: TheSpoon

  • ZAV 10 - Unable to open parameter file error

    When trying to launch a ZAV 10 app, C-Cure Administration Console, users are getting an error "**Unable to open parameter file cc800cl.pf, errno 2. (1247)". This only appears to be happening on Win7. This did work when first created, but after a few weeks the error has started to pop-up.

    If this was working and is not now, and you are certain nothing has changed on the client systems (or at least nothing that could interfere here), then this might be an issue with the license used when building the application. What is the expiry date of your license and was it applied prior to building this exe?
    If this isn't expiring please open an SR for this issue, if you can. This is the information the support team will require:
    - Copies of any warnings or errors around the time the issue occurs (or a copy of the application and system event logs, in .evtx format)
    - A copy of the exe you are using
    - If you can build the exe again as a diagnostic-mode executable and provide the diagnostics generated when attempting to run, that can be very helpful
    - It may also be required that you send installation media for the application and your build process, so the team can attempt to reproduce the issue in-house
    - You will also typically be asked for the .xappl file and associated Files folder, if reproducing in-house is required. This will become absolutely necessary if a ticket needs to be filed with Spoon, so sending it ahead of time is a good idea

  • External Hard Drive Error

    I connected a 60 gig external hard drive to my iBook G4, to transfer a 6 gig final cut pro final from my computer to another.
    In the middle of transfering, finder opens a window thata says "Error, this file cannot be moved"
    Why is it doing this?

    Select the disk in the Finder and choose Get Info from the File menu; if it's format is listed as MS-DOS, it cannot accomodate files that are 4GB or larger. In this case, available options include:
    1. Using the Disk Utility in the /Applications/Utilities/ folder to reformat the whole drive in the Mac OS Extended format. You should choose this option if you don't need to use the drive with a PC, and there's nothing on it that you want to keep and can't temporarily copy off.
    2. Segmenting the oversize file with one of these applications.
    3. Following the instructions in this article.
    4. Installing MacDrive on any PCs which need to access the drive, and then following #1.
    5. Install and use MacFUSE on your computer, and reformat the drive to NTFS in Windows.
    (22718)

Maybe you are looking for