|
Re: DOMWrite an HTMLDocument: msg#00012java.enhydra.xmlc
Hi Roger, See comments below... At 11:30 PM 7/9/2003 -0300, you wrote: Hey Barracuda wizards! Hmm... curious. Looks like it has more to do with XMLC than Barracuda, though. As such, I'm cc'ing the XMLC list. when writing an HTMLDocument with DefaultDOMWriter. What exactly are you trying to do? createBasicDocument() will create an empty HTMLDocument. Why would you want to write that immediately to output? It still shouldn't fail with a NullPointerException in BaseDOMFormatter, however. Looks like it bombs on the second line below... } else if (document instanceof XMLObjectLink) { encoding = ((XMLObjectLink)document).getXMLObject().getEncoding(); } Not sure how that would cause a null pointer exception? If the document is an instance of XMLObjectLink, then the document is, obviously, not null and that whole line should succeed. Richard, David, Mark, any ideas here? Roger, did you actually test your reduced testcase or are you assuming that it is equivalent to another piece of code that is bombing? If you haven't tested the reduced testcase, can you post your actual code? It might make a bit more sense. Jake Cheers,
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: XMLC xerces jar, Jacob Kjome |
|---|---|
| Next by Date: | Re: DOMWrite an HTMLDocument, Roger C. Soares |
| Previous by Thread: | XMLC xerces jar, Sinisa Milosevic |
| Next by Thread: | Re: DOMWrite an HTMLDocument, Roger C. Soares |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |