First of all, let me complement you on an excellent product. I find it extremely useful. Now on to the questions. Do you plan to support the Navigator ]object within your javascript implementation? Also, do you plan to support Document.write() ?
thanks,
troy
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Great. Since Document.write results in raw html source being dynamically added to the document structure, how do you plan to support it? I don't think JTidy has the ability to support html source being dynamically "poked" into the stream during parse. You could add a "parsed" element node to the already-parsed document, but what would you use to parse the one node to begin with? Sorry about the long message, but I was just wondering if you had any thoughts on the implementation of Document.write().
regards,
troy
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for the info that docment.write is not supported by httpunit! :-(
Anyway around this limitation? I am using a class that does this and JavaScriptEngineFactory keeps choking on my pages. Is there a way I can catch the exception and continue around it?
Hope you can help.
TIA,
suresh
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
At present, I don't know a way around this in the current build. But I can add no-op definitions to the DOM so that all we would get is warnings rather than fatal exceptions...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
First of all, let me complement you on an excellent product. I find it extremely useful. Now on to the questions. Do you plan to support the Navigator ]object within your javascript implementation? Also, do you plan to support Document.write() ?
thanks,
troy
Thanks for the compliment. I intend to support JavaScript 1.1, which includes both, so yes.
Great. Since Document.write results in raw html source being dynamically added to the document structure, how do you plan to support it? I don't think JTidy has the ability to support html source being dynamically "poked" into the stream during parse. You could add a "parsed" element node to the already-parsed document, but what would you use to parse the one node to begin with? Sorry about the long message, but I was just wondering if you had any thoughts on the implementation of Document.write().
regards,
troy
Thanks for the info that docment.write is not supported by httpunit! :-(
Anyway around this limitation? I am using a class that does this and JavaScriptEngineFactory keeps choking on my pages. Is there a way I can catch the exception and continue around it?
Hope you can help.
TIA,
suresh
At present, I don't know a way around this in the current build. But I can add no-op definitions to the DOM so that all we would get is warnings rather than fatal exceptions...
Can you please do this or tell me how I can do this?
TIA,
Suresh
Does httpunit support document.write yet ?