Blake,

As you suspected, the problem went away when I manually set all the | to %7C.  
Perfect fix!  Thanks for that info.  

Not being an HTTP/HTML developer, I was not aware of this restriction.

Here come the inevitable picky questions:  When Jpluck "add site" automatically 
pastes in the URI that is in your clipboard, why not correct the character 
mappings to a Jpluck compatible URI?  If Jpluck is going to be more restrictive 
than Internet Explorer (which takes this http address just fine), then that 
might be a valid change to make.  It's a sure bet that most users won't know to 
do this.

Also, when Jpluck "add site" fails on this URI, it does so silently.  It simply 
doesn't add the document to the list.  That's not helpful.

When you do add the site to a JXL manually, here is the exception, whose 
content I'm sure won't surprise you given that you've already solved my 
problem. I had already used the error message to zero in on the separator bar 
character.

Mark


java.lang.RuntimeException: java.lang.IllegalArgumentException

        at net.sf.jpluck.jxl.Document.getUri(Document.java:234)

        at net.sf.jpluck.jxl.Document.resetStartingURI(Document.java:58)

        at net.sf.jpluck.jxl.Document.<init>(Document.java:54)

        at net.sf.jpluck.jxl.Site.<init>(Site.java:8)

        at net.sf.jpluck.jxl.JXL.parse(JXL.java:535)

        at net.sf.jpluck.jxl.JXL.<init>(JXL.java:88)

        at net.sf.jpluck.jxl.JXL.<init>(JXL.java:78)

        at net.sf.jpluck.apps.jpluckx.ui.ListFrame.openJXL(ListFrame.java:177)

        at net.sf.jpluck.apps.jpluckx.ui.ListFrame$OpenJXLAction.actionPerformed
(ListFrame.java:813)

        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)

        at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed
(Unknown Source)

        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)

        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)

        at javax.swing.AbstractButton.doClick(Unknown Source)

        at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)

        at 
javax.swing.plaf.basic.BasicMenuItemUI$MenuDragMouseHandler.menuDragMouseRelease
d(Unknown Source)

        at javax.swing.JMenuItem.fireMenuDragMouseReleased(Unknown Source)

        at javax.swing.JMenuItem.processMenuDragMouseEvent(Unknown Source)

        at javax.swing.JMenuItem.processMouseEvent(Unknown Source)

        at javax.swing.MenuSelectionManager.processMouseEvent(Unknown Source)

        at javax.swing.plaf.basic.BasicMenuUI$MouseInputHandler.mouseReleased
(Unknown Source)

        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)

        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)

        at java.awt.Component.processMouseEvent(Unknown Source)

        at java.awt.Component.processEvent(Unknown Source)

        at java.awt.Container.processEvent(Unknown Source)

        at java.awt.Component.dispatchEventImpl(Unknown Source)

        at java.awt.Container.dispatchEventImpl(Unknown Source)

        at java.awt.Component.dispatchEvent(Unknown Source)

        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)

        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)

        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)

        at java.awt.Container.dispatchEventImpl(Unknown Source)

        at java.awt.Window.dispatchEventImpl(Unknown Source)

        at java.awt.Component.dispatchEvent(Unknown Source)

        at java.awt.EventQueue.dispatchEvent(Unknown Source)

        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)

        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

        at java.awt.EventDispatchThread.run(Unknown Source)

Caused by: java.lang.IllegalArgumentException

        at java.net.URI.create(Unknown Source)

        at java.net.URI.resolve(Unknown Source)

        at net.sf.jpluck.jxl.JXL.resolve(JXL.java:353)

        at net.sf.jpluck.jxl.Document.getUri(Document.java:229)

        ... 40 more

Caused by: java.net.URISyntaxException: Illegal character in path at index 99: 
http://www.christianity.com/CC/CDA/Content_Blocks/CC_Printer_Friendly_Version_Ut
ility/1,,PTID307086|CHID559376|CIID1660662|CPATHL3BhcnRuZXIvQXJ0aWNsZV9EaXNwbGF5
X1BhZ2UvMCwsUFRJRDMwNzA4NnxDSElENTU5Mzc2fENJSUQxNjYwNjYyLDAwLmh0bWw=,00.html

        at java.net.URI$Parser.fail(Unknown Source)

        at java.net.URI$Parser.checkChars(Unknown Source)

        at java.net.URI$Parser.parseHierarchical(Unknown Source)

        at java.net.URI$Parser.parse(Unknown Source)

        at java.net.URI.<init>(Unknown Source)

        ... 44 more

_______________________________________________
plucker-list mailing list
[EMAIL PROTECTED]
http://lists.rubberchicken.org/mailman/listinfo/plucker-list

Reply via email to