Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4423072

DOCTYPE declaration doesn't have a closing > and startDTD is not invoked

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.1.1
    • 1.4.1
    • xml
    • 1.1.1
    • sparc
    • solaris_2.6
    • Verified

      1)
      I set the transformer output properties OutputKeys.DOCTYPE_PUBLIC, OutputKeys.DOCTYPE_SYSTEM
      I transform an xml file and write it to PrintStream.
      I find the DOCTYPE declaration but I don't find the closing > for DOCTYPE declaration.
      The sample output looks like this

      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE document PUBLIC "-//mkrishna mohan//DTD//music pub//EN/"
      "http://krishna2:8080/publishers.dtd"<document>
      ....
      ....
      </document>

      2)
      startDTD callback of LexicalHandler is not invoked.

            duke J. Duke
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: