Public bug reported:

According to the documentation for the CreateInterface utility of dbus-
java the following command should generate a java source file for the
appropriate interface.

"CreateInterface --session  org.freedesktop.Notifications
/org/freedesktop/Notifications"

Instead of getting a generated file I get the error below. (This happens
for any service and any interface that I select, not just the
service/interface given in the example below.)

"[Fatal Error] introspect.dtd:1:3: The markup declarations contained or pointed 
to by the document type declaration must be well-formed.
Exception in thread "main" org.xml.sax.SAXParseExceptionpublicId: 
-//freedesktop//DTD D-BUS Object Introspection 1.0//EN; systemId: 
http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd; lineNumber: 1; 
columnNumber: 3; The markup declarations contained or pointed to by the 
document type declaration must be well-formed.
        at 
com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:257)
        at 
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:339)
        at 
org.freedesktop.dbus.bin.CreateInterface.createInterface(CreateInterface.java:702)
        at 
org.freedesktop.dbus.bin.CreateInterface.main(CreateInterface.java:685)
"

** Affects: dbus-java (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1665216

Title:
  dbus-java-bin's CreateInterface utility fails with parser error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dbus-java/+bug/1665216/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to