Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. XML / XSL
  4. Could not find a part of the path 'C:\MyProject\xml\command.dtd'.

Could not find a part of the path 'C:\MyProject\xml\command.dtd'.

Scheduled Pinned Locked Moved XML / XSL
helpxmlquestion
4 Posts 2 Posters 18 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    El Dev
    wrote on last edited by
    #1

    Hi!I am putting this code in xml file:

    GBPHANDLER
    BP120522.1117.C00001
    1357
    TS
    ERR123
    Y
    Content For Sending SMS
    09899847486
    Luku

    but I am getting this error in the code: Could not find a part of the path 'C:\MyProject\xml\command.dtd'. Am I need to create a file with .dtd extension or what? please can someone help to resolve this.

    L 1 Reply Last reply
    0
    • E El Dev

      Hi!I am putting this code in xml file:

      GBPHANDLER
      BP120522.1117.C00001
      1357
      TS
      ERR123
      Y
      Content For Sending SMS
      09899847486
      Luku

      but I am getting this error in the code: Could not find a part of the path 'C:\MyProject\xml\command.dtd'. Am I need to create a file with .dtd extension or what? please can someone help to resolve this.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      You have told the XML reader that the schema for your XML is held in file xml/command.dtd, so you need to provide that DTD file also.

      One of these days I'm going to think of a really clever signature.

      E 1 Reply Last reply
      0
      • L Lost User

        You have told the XML reader that the schema for your XML is held in file xml/command.dtd, so you need to provide that DTD file also.

        One of these days I'm going to think of a really clever signature.

        E Offline
        E Offline
        El Dev
        wrote on last edited by
        #3

        Ohh thanks.I didn't know that it is necessary to create a separate file.It is my first time to work with dtd and xml file so...

        L 1 Reply Last reply
        0
        • E El Dev

          Ohh thanks.I didn't know that it is necessary to create a separate file.It is my first time to work with dtd and xml file so...

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          In that case I would suggest you spend some time learning the structure of XML and DTD files before proceeding further.

          One of these days I'm going to think of a really clever signature.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups