Hello
It seems as though the url parser for the proXML library only handles certain domain names/DNS properly, and not IP addresses & bonjour names.
For example, the following code works in my applet:
Code:
shareAtomFeedIO = new XMLInOut(this);
// load the Atom Feed from the URL.
shareAtomFeed = shareAtomFeedIO.loadElementFrom("http://share.dj/share/feeds/Multimedia.xml");
this does not:
Code:
shareAtomFeedIO = new XMLInOut(this);
// load the Atom Feed from the URL.
shareAtomFeed = shareAtomFeedIO.loadElementFrom("http://hokkaido.local/share/feeds/Multimedia.xml");
nor does
Code:
shareAtomFeedIO = new XMLInOut(this);
// load the Atom Feed from the URL.
shareAtomFeed = shareAtomFeedIO.loadElementFrom("http://127.0.0.1/share/feeds/Multimedia.xml");
I do not get a url lookup error, I recieve a:
Code:
proxml.InvalidDocumentException: This is not a parsable URL
at proxml.XMLInOut.handleStartTag(XMLInOut.java:459)
java.lang.NullPointerException
at Temporary_902_5427.parseAtomXML(Temporary_902_5427.java:120)
at Temporary_902_5427.setup(Temporary_902_5427.java:34)
at processing.core.PApplet.display(PApplet.java:1259)
at processing.core.PGraphics.requestDisplay(PGraphics.java:520)
at processing.core.PApplet.run(PApplet.java:1142)
at java.lang.Thread.run(Thread.java:552)
Is there a chance that proXML could be updated to work with localhost, 127.0.0.1 and rendez... bonjour .local name spaces?
Thank you.