Doctype not set n XML file

Hi,
Is there a way to create a new DOM document and include the DTD?
I used the following:
docType = DOMimp.createDocumentType("my.dtd", null , "my");
Doc = DOMimp.createDocument(null,ROOT_ITEM, docType);
docType = Doc.getDoctype();
The docType is properly set when retrieving the values:
String s1 = docType.getPublicId();
String s2 = docType.getSystemId();
String s3 = docType.getName();
When, saving the Doc to a file using the JAXP transform, the doctype doesn't appear?
Any help is most welcome. / dzone

Hi dzoneKL,
There is no way of setting or modifying the DOCTYPE declaration in the XML document itself; according to the documentation, this is not allowed by the DOM Level 2 specification. However, you can do it in the javax.xml.Transformer object (this is the object you use to write the xml out):
TransformerFactory tFactory = TransformerFactory.newInstance();
Transformer transformer = tFactory.newTransformer();
transformer.setOutputProperty(javax.xml.transform.OutputKeys.DOCTYPE_SYSTEM, "name.dtd");
...Check the javax.xml.transform.OutputKeys javadoc for more details about the properties you can set for the transformer.
Hope it helps
Giordano

Similar Messages

  • Infopath 2013 SOAP Web Service Data Connection - Error: The file is not a valid XML file

    Here are the steps to replicate the issue I’m having when adding lists.asmx or any other SharePoint web service in InfoPath 2013. This web service opens fine in the browser from my desktop. My account is a farm administrator and is added to the
    web application’s User Policy.  I can use these services just fine using Nintex 2013 Workflow.
    Open InfoPath Designer 2013.
    Select Blank Form and click Design Form button.
    Click “Data” tab.
    Click “From Web Service” and select “From SOAP Web Service”
    Enter https://mysiteurl.com/_vti_bin/lists.asmx?WSDL for the web service definition.
    Click Next.
    Windows Security window pops up.
    Enter a credential. I tried both my account and the farm account. My account is a farm admin and is added to the web application’s User Policy with Full Control.
    Click OK. It prompts for credential multiple times.
    I get below this error messages: 
    Sorry, we couldn't open https://mysiteurl.com/_vti_bin/lists.asmx?WSDL
    InfoPath cannot find or cannot access the specified Web Service description.
    The file is not a valid XML file.
    Not enough storage is available to process this command.
    We have a project that is in need of these services using InfoPath so any help is greatly appreciated.

    Hi Brian_TX,
    For your issue, try to the following methods:
    Change your service binding in web.config to:binding="basicHttpBinding". It seems in VS it defaults to wsHttpBinding.
    Replace all instances of "parameters" from the web service wsdl with the name "parameter"
    There are some similar articles about the issue, you can have a look at them:
    http://www.infopathdev.com/forums/t/23239.aspx
    https://social.msdn.microsoft.com/Forums/office/en-US/621929c3-0335-40af-8332-5a0b430901ab/problems-with-infopath-web-service-connection?forum=sharepointcustomizationprevious
    https://social.msdn.microsoft.com/Forums/en-US/5fa5eca8-f8d7-4a2e-81ba-a3b4bdcfe5af/infopath-cannot-find-or-cannot-access-the-specified-web-service-description?forum=sharepointcustomizationlegacy
    Best Regards
    Lisa Chen
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]

  • "Display the number of found items in the find toolbar" Not work in xml file

    Word count feature that comes with version 32 does not work in xml file.

    This only happens when Firefox uses the "pretty print" layout if there is not XSL stylesheet file.
    * <b>about:config</b> page: layout.xml.prettyprint = false
    *http://mxr.mozilla.org/mozilla-release/source/content/xml/document/src/nsXMLPrettyPrinter.cpp
    *http://mxr.mozilla.org/mozilla-central/source/dom/xml/nsXMLPrettyPrinter.cpp
    *chrome://global/content/xml/XMLPrettyPrint.xml
    *chrome://global/content/xml/XMLPrettyPrint.xsl

  • Skin Setting not working with XML file

    I am trying to use the Adobe Flash Playback with a flashvars skin setting.  I am pointing this setting to an xml file where I am trying to overide the playButtonOverlay image.  Below is my code.  I am using MVC, so you will see a couple Html Helpers.  The helpers are working just fine.  It is only the skin setting I can't seem to get to work.  Any help would be appreciated.  Thanks, Michael.
    Html File
    <object width="384" height="288" >
         <param name="movie" value="http://fpdownload.adobe.com/strobe/FlashMediaPlayback.swf" />
         <param name="flashvars" value="src=<%: Model.VideoFilePath %>&poster=<%: Model.PosterFilePath %>&skin=/Skin/FlashPlayerSkin.xml" />
         <param name="allowFullScreen" value="false" />
         <param name="allowscriptaccess" value="always" />
         <param name="quality" value="high" />
         <param name="wmode" value="transparent" />
         <embed src="http://fpdownload.adobe.com/strobe/FlashMediaPlayback.swf" type="application/x-shockwave-flash"
              allowscriptaccess="always" allowfullscreen="false" width="384" height="288"
              flashvars="src=<%: Model.VideoFilePath %>&poster=<%: Model.PosterFilePath %>&skin=/Skin/FlashPlayerSkin.xml"
              quality="high" wmode="transparent" />
    </object>
    XML File
    <?xml version="1.0" encoding="utf-8" ?>
    <skin>
      <elements basePath="/Content/MFBImages/FlashPlayer/">
        <element id="playButtonOverlayNormal" src="playButtonOverlay.png"/>
        <element id="playButtonOverlayDown" src="playButtonOverlay_down.png"/>
        <element id="playButtonOverlayOver" src="playButtonOverlay_over.png"/>
      </elements>
    </skin>

    Thank you both for replying so quickly.  I still don't seem be having too much luck.  The first thing I did was watched fiddler, and it did show an error with crossdomain.xml.  So I added the below elements to a crossdomain.xml file in my root folder.  I also changed all my paths to be absolute for both the skin flashvar and xml, but still no luck.
    crossdomain.xml
    <?xml version="1.0" encoding="utf-8" ?>
    <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
    <cross-domain-policy>
      <allow-http-request-headers-from domain="*" headers="SOAPAction,Content-Type"/>
    </cross-domain-policy>
    Since I am having trouble with the xml, I decided to try and just put the skin element into the html page where the flash player is located.  I then removed the flashvar skin element out of the player.  Below is my code for the skin element and flashplayer with absolute paths.  The player still seems to use the default overlay play button.  Any other suggestions would help out greatly.
    <skin>
    <elements basePath="http://localhost:1852/Content/MFBImages/FlashPlayer/">
      <element id="playButtonOverlayNormal" src="playButtonOverlay.png"/>
      <element id="playButtonOverlayDown" src="playButtonOverlay_down.png"/>
      <element id="playButtonOverlayOver" src="playButtonOverlay_over.png"/>
    </elements>
    </skin>
    <object width="384" height="288" >
    <param name="movie" value="http://fpdownload.adobe.com/strobe/FlashMediaPlayback.swf" />
    <param name="flashvars" value="src=http://localhost:1852/VideoLibrary/Agents/test video.flv&poster=http://localhost:1852/Content/MFBImages/AgentImage/Poster.jpg" />
    <param name="allowFullScreen" value="false" />
    <param name="allowscriptaccess" value="always" />
    <param name="quality" value="high" />
    <param name="wmode" value="transparent" />
    <embed src="http://fpdownload.adobe.com/strobe/FlashMediaPlayback.swf" type="application/x-shockwave-flash"
        allowscriptaccess="always" allowfullscreen="false" width="384" height="288"
        flashvars="src=http://localhost:1852/VideoLibrary/Agents/test video.flv&poster=http://localhost:1852/Content/MFBImages/AgentImage/Poster.jpg"
        quality="high" wmode="transparent" />
    </object>

  • JDOM "IllegalStateException: Root element not set" when reading file

    Hello, I am relatively new to XML. I am trying to read an xml document to parse some information out of it. I basically have a large amount of data I want to load into my program. I could program it all in as static arrays, but I thought xml would be easier, and make changes easier.
    I am trying to use JDOM, and have the project set up. My problem is when I read the document, it always gives a root element not set exception. Here is my xml file:
    <?xml version="1.0" encoding="UTF-8"?>
    <root>
        Contents
    </root>Very basic, I'm using this to get things started. Here is my code for reading it:
            SAXBuilder sb = new SAXBuilder();
            Document d = new Document();
            try {
                sb.build(new File("test1.xml"));
            catch (JDOMException jdome) {
                System.err.println(jdome);
            catch (IOException ioe) {
                System.err.println(ioe);
            d.getContent();Whenever I try to do anything with the contents of the Document, like d.getContent(), it always throws a java.lang.IllegalStateException: Root element not set. It reads the file successfully (as far as I can tell), but it's like the xml file is empty. I can't find anything on the web about this problem, and every tutorial says to do exactly what I've done, but never mention any possible problem. It can find the file, and I can write to an xml file as in other tutorials, but reading one in is a problem.
    I chose JDOM because it seemed simplest for just reading in a large amount of data and parsing it out into variables. This is a very simple project, so I don't want to spend a lot of time writing xml parsing code, I'm only using xml because it will probably be easier than hard coding the data. Would a different xml api be easier to use for my purposes?
    Message was edited by:
    hunter9000

    You must always give the browser an either an absolute URL from the top of
              the web server (not the
              web application) or a relative path from the current page.
              Sam
              "Vijay Kumar" <[email protected]> wrote in message
              news:[email protected]..
              > Hi
              >
              > I get the 'getResource is called when document root is not set.' error
              > when I access any files in the webapp with their absolute path.
              >
              > Environment: WIN/NT SP3, WL5.1 SP5 as the webserver and app server.
              >
              > My webapp located in d:\temp is deployed as foo
              > weblogic.httpd.webApp.foo=d:/temp
              >
              > For example:
              > I can access a file in d:\temp\secured\home.html using
              > test
              >
              > However if with in an html I try to access the file using the abs path
              > from doc root
              > test I get an error
              >
              > and I guess the default servlet looks for the servlet-context named
              > 'secured'
              >
              > Can someone tell me if I can set the documentRoot in the web.xml or
              > weblogic.xml
              > file OR if there is any other way to access to the file using the abs path
              > of /secured/test/test.html
              >
              >
              > Thanks in advance
              >
              > Vijay
              >
              >
              >
              >
              

  • Generate XSD from an not well formed xml File

    Hi,
    I have following problem:
    XML File:
    <readme xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:noNamespaceSchemaLocation="http://localhost:8888/home/XDB/xsd/readme_neu.xsd">
         <title lang="de-DE">Preisliste Antriebselektronik </title>
         <title lang="en-DE">Preisliste Antriebselektronik </title>
         <edition lang="de-DE">date</edition>
         <doctype lang="de-DE">Preisliste</doctype>
         <projectstartdate lang="de-DE">date</projectstartdate>
         <projectenddate lang="de-DE">date</projectenddate>
    <projectenddate lang="en-DE">date</projectenddate>
         <status lang="de-DE">Druckvorstufe</status>
         <doku-key>PA300000</doku-key>
         <orderno lang="de-DE">
         <actual>11500204</actual>
         <previous>11341408</previous>
         </orderno>
         <orderno lang="lv-LV">
              <actual>11500476</actual>
              <previous>11341653</previous>
         </orderno>
         <orderno lang="lt-LT">
              <actual>11500484</actual>
              <previous>11341661</previous>
         </orderno>
         <orderno lang="nl-BE">
              <actual>11500492</actual>
              <previous>11341688</previous>
         </orderno>
    </readme>
    The Tags title and projectenddate makes the problem. I'd like to make an Objekt TITEL_OBJECT and PROJECTEND_OBJECT to differ the tags, but my problem is:
    xdb_titel_type is NOT FINAL
    Name Null? Typ
    SYS_XDBPD$ XDB$RAW_LIST_T
    SPRACHE VARCHAR2(4000 CHAR)
    that I lose the content the tags.
    What can i do?? is there any possible solution or isn't it possible
    thx PHIL
    I have solved the problem
    Message was edited by:
    user534856

    Hi,
    I have following problem:
    XML File:
    <readme xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:noNamespaceSchemaLocation="http://localhost:8888/home/XDB/xsd/readme_neu.xsd">
         <title lang="de-DE">Preisliste Antriebselektronik </title>
         <title lang="en-DE">Preisliste Antriebselektronik </title>
         <edition lang="de-DE">date</edition>
         <doctype lang="de-DE">Preisliste</doctype>
         <projectstartdate lang="de-DE">date</projectstartdate>
         <projectenddate lang="de-DE">date</projectenddate>
    <projectenddate lang="en-DE">date</projectenddate>
         <status lang="de-DE">Druckvorstufe</status>
         <doku-key>PA300000</doku-key>
         <orderno lang="de-DE">
         <actual>11500204</actual>
         <previous>11341408</previous>
         </orderno>
         <orderno lang="lv-LV">
              <actual>11500476</actual>
              <previous>11341653</previous>
         </orderno>
         <orderno lang="lt-LT">
              <actual>11500484</actual>
              <previous>11341661</previous>
         </orderno>
         <orderno lang="nl-BE">
              <actual>11500492</actual>
              <previous>11341688</previous>
         </orderno>
    </readme>
    The Tags title and projectenddate makes the problem. I'd like to make an Objekt TITEL_OBJECT and PROJECTEND_OBJECT to differ the tags, but my problem is:
    xdb_titel_type is NOT FINAL
    Name Null? Typ
    SYS_XDBPD$ XDB$RAW_LIST_T
    SPRACHE VARCHAR2(4000 CHAR)
    that I lose the content the tags.
    What can i do?? is there any possible solution or isn't it possible
    thx PHIL
    I have solved the problem
    Message was edited by:
    user534856

  • Why MAX5.0 not report right XML file settings from AVT GigE camera?

    I have a AVT Prosilica GC660M GigE camera. It had a touble to synchonize with an external trigger. My ex-colleague posted this long time ago (http://forums.ni.com/t5/Machine-Vision/Problem-with-external-trigger-on-GigE-camera/m-p/1060572/high...), so I think it might be better to start a new one. Inside the MAX, there's only one option under the "ExposureMode" as "timed" which only use preconfigured time, and cannot be trigger by an external signal. The workaround is to manually register it inside the camera. It was thought to be a bug and an update of firmware should fix it.However the problem remains after I recently upgraded the firmware. And o I installed the AVT package. Both the MAX and the AVT GigEViewer correctly retrived the camera firmware version as 1.42.02. Yet MAX still shows only the "timed" option, while the GigEViewer shows all four enums as described in their attribute manual "Manual, Auto, AutoOnce, External". I had tried to delet the xml and files associate with the camera under IN-IMAQdx\Data. However everytime MAX genenrates them excatly the same with only "timed" option in the XML file. Now it feels more like something is wrong with the MAX instead. I wonder how to fix it.
    Thanks,
    Lei

    Hi Lei,
    I am not exactly sure why you are not seeing all the attributes, but it could be a few different things causing it. First let’s just make sure you have all you attributes being displayed (follow instructions from link below). What happens if you delete the XML file then set your camera to “External” in the GigEViewer software, then load MAX? Do you see any changes? Can you post a screenshot showing the camera attributes from MAX. If you have your camera set to External from GigEViewer and you try to grab from the camera in MAX do you get a timeout error, does it trigger external, what happens?
    Why Can I Not See All of My IMAQdx Camera's Attributes in Measurement & Automation Explorer
    http://digital.ni.com/public.nsf/allkb/9FA7FEE4FC51F043862574A30075B7A1?OpenDocument
    Why Won't My Allied Vision Technology Camera Work With National Instruments Software?
    http://digital.ni.com/public.nsf/allkb/470DA6BDE3883EB686257341006BCB56?OpenDocument
    Tim O
    Applications Engineer
    National Instruments

  • Regarding sales order not created in xml file format

    Hi Friends,
                       I have the xml file,I sort the xml file alphabetically on material master codes, WHen program try to create the sales order by using this xml file through call transaction method, the line item numbers does not matches with the line items of xml file.
    I want same sequence.Please suggest me..
    Best Regards,
    SHialpa.

    HI Divya,
    Have u uninstalled Acrobt Reader from your system???
    Regards
    Manoj S

  • How can I read an XML string that's not from an XML file?

    I've got a script I'm trying to setup that communicates over a socket to retrieve different directions from a custom built Java program.  The Java program listens to requests from the Adobe scripting engine (in my case it's a Photoshop script) on a socket and immediately responds with the next set of directions.  These directions are currently in XML format.  The issue I'm having is that I can't parse the XML data since it's entered into a new XML object from a string rather than being read from a file.  Even without the socket code, you can see the issue by doing the following:
    var xml = new XML("<test><data>hey!</data></test>");
    alert(xml.test.data);
    alert(xml);
    The first alert "should" return "hey!" (without quotes, of course), but it doesn't, while the second alert returns what you would expect it to:
    <test>
        <data>hey!</data>
    </test>
    It works fine if read from an XML file, but from a string, like shown above, it just presents an empty alert box when attempting to access "xml.test.data".  Any ideas on how to fix this issue?  Can it be fixed?  Has it been fixed in newer versions (I'm currently using CS4)?
    Thanks in advance for any help!

    Duh... found my error... I was attempting to access the data by referencing the created "root" element.  Since <test> is the very first element tag, it's setup as the root element, which you don't need to reference.  Changing the alert to alert(xml.data); fixed it.
    Now I just feel dumb, lol...

  • Open Dataset for XML not reading the XML file, Returning Code 8.

    Dear all,
    Im trying to open an XML file using Open Dataset, since i have to execute this report in background and GUI_upload doesnt work in background.
    The XML file is available in my C:\, say, C:\xmlfile.xml.
    But  the open dataset is not reading any value into the g_xml_line . it is returning sy-subrc = 8.
    Below is my code for that, can anybody help me out to resolve.
    DATA : lv_filename LIKE rlgrap-filename.
      CLEAR: lv_filename.
      lv_filename = p_input.
      OPEN DATASET lv_filename FOR INPUT IN BINARY MODE.
      IF sy-subrc ne 0.
        WRITE:/ 'invalid file'.
      else.
      DO.
        READ DATASET lv_filename INTO  g_xml_line.
        IF sy-subrc EQ 0.
          APPEND g_xml_line TO g_xml_table.
        ELSE.
          EXIT.
        ENDIF.
      ENDDO.
      CLOSE DATASET lv_filename.
       ENDIF.
    TYPES: BEGIN OF t_xml_line,
            data(256) TYPE x,
          END OF t_xml_line.
    DATA: g_xml_table       TYPE TABLE OF t_xml_line,
          g_xml_line        TYPE t_xml_line,
          g_xml_table_size  TYPE i.
    GET REFERENCE OF gt_person INTO gs_result_xml-value.
      gs_result_xml-name = 'IPIX'.
      APPEND gs_result_xml TO gt_result_xml.
    Perform the XSLT stylesheet
      TRY.
          CALL TRANSFORMATION zaum_manh_sync_rpt
          SOURCE XML g_xml_table
          RESULT (gt_result_xml).
        CATCH cx_root INTO gs_rif_ex.
          gs_var_text = gs_rif_ex->get_text( ).
          MESSAGE gs_var_text TYPE 'E'.
      ENDTRY.
    Kindly suggest me a solution. Points assured
    regs,
    raja

    After saving the file , below is the code i wrote, but it gives a runtime error with message
    No roll storage space of length 3788808 available for internal storage.
    ***Coding****
    PARAMETERS: p_file TYPE pathintern LOWER CASE DEFAULT '/usr/sap/DEV/SYS/global/XMLABAP2.XML'.
    DATA : lv_filename LIKE rlgrap-filename.
      CLEAR: lv_filename.
      lv_filename = p_file.
      DATA: l_fname TYPE filename-fileintern. " File name
    *GET THE FILENAME FROM THE APPLICATION SERVER
      CALL FUNCTION '/SAPDMC/LSM_F4_SERVER_FILE'
        EXPORTING
          directory        = p_file
          filemask         = '*'
        IMPORTING
          serverfile       = l_fname
        EXCEPTIONS
          canceled_by_user = 1
          OTHERS           = 2.
      IF sy-subrc NE 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
        WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    */usr/sap/DEV/SYS/global/substanc
      lv_filename = l_fname.
      OPEN DATASET lv_filename FOR INPUT IN BINARY MODE.
      IF sy-subrc NE 0.
        WRITE:/ 'invalid file'.
      ELSE.
        DO.
          READ DATASET lv_filename INTO  g_xml_line.
       IF sy-subrc EQ 0.
          APPEND g_xml_line TO g_xml_table.
       ELSE.
         EXIT.
       ENDIF.
        ENDDO.
        CLOSE DATASET lv_filename.
      ENDIF.

  • Not renaming attachment xml file name in receiver mail adapter

    Hi,
    I receive SOAP from GRC and need send to Partner an email.
    I have  SOAP to MAIL scenario where an xml file is picked up and transformed and zipped into the target format in XI which has to be sent as an attachement in an email on the receiver side.
    I am getting the mail with the attachement. But I would like to rename the attachment as the name "NFE.XML" and the ZIP File as the name "nfe.zip"
    I am using MAIL adapter with Modules above.
    Number  Module Name                                                                          Module Type                       Module Key
    1             AF_Modules/PayloadSwapBean                                           Local Enterprise Bean        Transform
    2             AF_Modules/MessageTransformBean                                  Local Enterprise Bean        ContentType
    3             AF_Modules/PayloadZipBean                                                Local Enterprise Bean        zip
    4             sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean    Local Enterprise Bean        mail
    Module Configuration :
    Module Key                           Parameter Name                Parameter Value
    Transform                             swap.keyName                 payload-name
    Transform                             swap.keyValue                 NFE
    ContentType                         Transform.ContentType    application/xml; name="NFe.xml"
    zip                                         zip.filenameKey                ContentType
    zip                                         zip.mode                           zip
    I  am using transport protocol  "XIPAYLOAD" and set  "KEEP ATTACHMENTS"
    I have with result example above :
    Name from ZIP              :  PayloadName.zipu200E(4KB)u200E
    Name from attachment :  PayloadName
    Regards,
    Ricardo

    Hi Shobhit,
    The module tab of your mail adapter will look like this.
    Processing Sequence
    Module Name                                                            Type                                      Module Key
    localejbs/AF_Modules/MessageTransformBean   rename LocalEnterpriseBean     
    sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean  mail     Local EnterpriseBean     
    Module Configuration
       Module Key               Parameter Name             Parameter Value
          rename      Transform.ContentDescription                      File
          rename  Transform.ContentDescription  attachement;filename="yourfilename.ext"                                                          
          rename            Transform.ContentType                 application/text;name="yourfilename.ext"
    Thanks
    Amitanshu

  • Adobe Premiere Pro CC not opening an xml file created in Adobe Premiere Pro CC 2014

    Hello,
    I had created a project using Adobe Premiere CC 2014 which had some minor changes, which were going to be done by my boss, who uses Premiere Pro CC. However the project file of Adobe Premiere CC 2014 was not getting opened in Premiere Pro CC giving a message of type that as this file was created in a newer version of Premiere, it cannot be opened. After searching on this forum I found that we have to convert the Premiere Pro CC 2014 project file to XML file which can be then imported onto Premiere CC. So I created a XML file by selecting File-> Export -> Final Cut Pro XML and sent it to my boss. However even the xml file is not getting opened after being imported onto Premiere Pro CC giving an error of sorts, Cannot open the file since there is a problem with the codecs.
    Have I done something wrong? Please guide me since I am a beginner to the Adobe environment and would very much appreciate any help.
    Thank you.

    Indeed..... but are they fully documented, includuing Adobe's implementation of Multicam?  
    Collapsing them should really be no more than a day or two of work for an Adobe engineer and a day of beta testing.  Seriously.  Lots of people want this - it only takes a few minutes with google to find people struggling with this exact problem.   Premiere Pro Multicam --> Resolve.
    Since we do a lot of multicam work it's something that's important to us.
    Lots of other people never go near multicam, so I guess for them it's something they really don't care about.
    I currently have > 22 hours of multicam sequences that need primary colour correction and follow on grading..... resolve would be the best choice by far. 

  • Fire fox is not reading my XML file for digital signature

    I have to upload the xml file in www.incometaxindiaefiling.gov.in by digitally signing the xml file. When I click on the tab for digital sign, the message come " cannot read the xml file"

    Not the sort of thing it is easy to help with as by definition it will not be a public site but one for Indian Taxpayers, and can be expected to be secure.
    Have you tried using Internet Explorer.
    You could try attaching screen shots of the problem pages and any error messages, but please be careful and edit out any confidential or sensitive information before attaching such an image.
    Please remember you are posting on a public and websearch indexed website, this is not a private support ticket.
    *link is https://support.mozilla.org/en-US/questions/968557
    Are you seeing a shield icon in your location bar as explained in this article
    * How does content that isn't secure affect my safety?
    That is rather a longshot as it is a change in Firefox so could affect you this year, but would not have affected you last year.
    * see [[How does content that isn't secure affect my safety?]]
    I note the public portion of the site
    * https://incometaxindiaefiling.gov.in/
    * talks about 'e-Filing' and 'Option 1: Use Digital Signature Certificate (DSC)' and then gives two other alternatives
    Other possibilities
    *[[Troubleshoot the "Secure Connection Failed" error message]]

  • I really need to go back to the save I made a day ago, my time machine is not set up and files haven't been automatically uploading to cc is there anyway I can go back a day in saves?

    Hi, I just had an issue with a photoshop document, my mac book temporarily crashed the screen glitches and deleted some vital layers I had constructed (took half a day) I thought I could correct it and saved it a few times in a panic and now i really need to go back to the save I made a day ago, my time machine is not set up and I just realised my files haven't been automatically uploading to cc is there anyway I can go back a day in saves?

    Trevor.Dennis wrote:
    So you don't have anything like Shadow Protect running in the background?
    Video editing software only needs to save the steps taken to achieve the edit, and references the actual video files from the hard drive.  So the saved files are only tiny, and it takes very little drive space to auto save to incrementing file names.  Obviously, Photoshop files can be huge by comparison, so the only way to save with a different file name is to do it manually.
    I think most regular posters to this forum make a point of updating the file name of a large project every hour or so, and as a direct response to reading so many horror stories like your own.  The worst story I remember was from a poster whose computer had crashed half way through saving a large PSD file.  After several response, questions and answers, it turned out he was using a laptop with a failing battery.  He told us that he could see the battery was getting low, but left it and left it before finally hitting Ctrl s and running off to find the laptop's power lead. When he got back the laptop had run out of power and shut down, and his PSD file was lost forever.  He may have been a prime candidate to a computing Darwin Award, but his stupidity still did the rest of us a service so we could learn from his mistake.
    Ouch. 
    My digital audio workstation works on the same principle; it creates a backup save just in case things go wrong (which--knock on wood--hasn't happened to me) and only references audio/MIDI files that are related to the project.
    My advice is to always, always back up sensitive documents. There are lots of ways of doing this, from manually to automatically. (e.g., A lot of higher-end routers let you connect external storage via USB so you can run backup software that detects any changes to a monitored folder over a network and then backs up any changed/updated documents to the connected storage. I prefer to do it myself manually, though.)

  • Email Attachment is not Working for xml file

    Hi All,
    if any one has any answer to this below Query, Your help will be highly appreciated.
    1- while configuring the email for attachment i am getting the selection failure Error in Content Encoding line where i am setting the base64 for encoding. Please fine configuration done for Email activity
    <scope name="Email1">
    <bpelx:annotation>
    <bpelx:pattern patternName="bpelx:email"></bpelx:pattern>
    </bpelx:annotation>
    <variables>
    <variable name="varNotificationReq"
    messageType="ns1:EmailNotificationRequest"/>
    <variable name="varNotificationResponse"
    messageType="ns1:ArrayOfResponse"/>
    <variable name="NotificationServiceFaultVariable"
    messageType="ns1:NotificationServiceErrorMessage"/>
    </variables>
    <sequence name="Sequence1">
    <assign name="EmailParamsAssign">
    <copy>
    <from expression="string('Default')"/>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns1:FromAccountName"/>
    </copy>
    <copy>
    <from expression="string('')"/>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns1:Bcc"/>
    </copy>
    <copy>
    <from expression="string('')"/>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns1:Cc"/>
    </copy>
    <copy>
    <from expression="string('')"/>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns1:ReplyToAddress"/>
    </copy>
    <copy>
    <from expression="bpws:getVariableData('subject')"/>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns1:Subject"/>
    </copy>
    <copy>
    <from expression="bpws:getVariableData('mailId')"/>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns1:To"/>
    </copy>
    <copy>
    <from>
    <Content xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService">
    <MimeType xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService">multipart/mixed</MimeType>
    <ContentBody xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService">
    <MultiPart xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService">
    <BodyPart xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService">
    <MimeType xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService"/>
    <ContentBody xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService"/>
    <BodyPartName xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService"/>
    </BodyPart>
    <BodyPart xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService">
    <MimeType xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService"/>
    <ContentBody xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService"/>
    <BodyPartName xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService"/>
    <contentencoding xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService"/>
    </BodyPart>
    </MultiPart>
    </ContentBody>
    </Content>
    </from>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns1:Content"/>
    </copy>
    <copy>
    <from expression="string('base64')"/>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns1:Content/ns1:ContentBody/ns1:MultiPart/ns1:BodyPart[2]/ns1:ContentEncoding"/>
    </copy>
    <copy>
    <from expression="string('application/xml')"/>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns1:Content/ns1:ContentBody/ns1:MultiPart/ns1:BodyPart[1]/ns1:MimeType"/>
    </copy>
    <copy>
    <from expression="bpws:getVariableData('body')"/>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns1:Content/ns1:ContentBody/ns1:MultiPart/ns1:BodyPart[1]/ns1:ContentBody"/>
    </copy>
    <copy>
    <from expression="string('application/xml')"/>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns1:Content/ns1:ContentBody/ns1:MultiPart/ns1:BodyPart[2]/ns1:MimeType"/>
    </copy>
    <copy>
    <from expression="'abc.xml'"/>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns1:Content/ns1:ContentBody/ns1:MultiPart/ns1:BodyPart[2]/ns1:BodyPartName"/>
    </copy>
    <copy>
    <from expression="ora:readFile('file:///*/*.xml')"/
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns1:Content/ns1:ContentBody/ns1:MultiPart/ns1:BodyPart[2]/ns1:ContentBody"/>
    </copy>
    </assign>
    If any one has done it before please help me out...
    thanks
    Dillip

    Hello Dillip,
    Please find below links. Either of one should solve your problem -
    http://mysoathoughts.blogspot.fi/2013/02/send-xml-file-as-attachment.html
    http://neeraj-soa-tips.blogspot.co.uk/2012/01/sending-attachment-using-email-activity.html
    BR
    Vaibhav

Maybe you are looking for

  • How to find out the active status of catalog area..

    Hi Team, In COMM_PCAT_ADM, we can find out the catalog view > catalog areas and product and their status. I am working on a requirement where i need to create a report program which will fetch the catalog id, catalog view, catalo area, catalog area s

  • Nokia Asha 303 - Video camera

    the video camera does not works and the phone restarts , please give an idea to bring my mobile to normal. Moderator's note: post is edited as it mentioned about an illegal tool to update/modify software.

  • Updating fields under contacts

    Hello World! I have a very simple question. I have a vendor who created a custom batch process to update existing addresses for my contacts records. The vendor is using a set of web services provided by Oracle. The problem I am running into is as fol

  • Powweb vs. ???

    Hello. We have multiple business websites (5 in total), created in both iWeb and Dreamweaver, currently hosted through Powweb. The unlimited transfer and storage is nice, but the tech support and downtime is becoming troubling. Speed of the websites

  • IPhone 5s 7.1 update now have white AND black label text instead of all white text

    Hello.  After I updated my iPhone 5s yesterday evening to 7.1 the label text on my iPhone's home row is now black instead of white and when I open my folders the text is now also black text instead of being an all uniform white text and this is buggi