See El

Ranch Hand
+ Follow
since Oct 07, 2002
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by See El

If what Prometric is showing is true then I passed too. No score though.

London, UK
Hi,
Is there any way to suppress ANT-specific output only, preserving output from called program ?
I have an java program that produce some text output (System.out.println or Logger.info) and and ANT task that execute that program.
I want to have console output only from program itself without ANT-specific messages (ant taskname, "[...]" stuff).
I have tried combination of -quiet and -emacs without success :
-emacs solve the problem of preceding "[...]"
but
-quiet disable all output from ANT as well as from my program alltogether.
The last step would be writing my own ANT-logger-listener which would be too much efforts for such trivial looking task.
Thanks in advance for any suggestion,
20 years ago
Hi everyone,
I want to use Ant to launch some external program (in exact appserver & tomcat) in separate window and the returns (leaving other program running). I've tried something like this

Anybody has an idea how to do this ?
Thanks in advance,
21 years ago

Originally posted by mary morris:
Thanks for your reply Dan and Don, so it is well formed, but not valid?


To decide whether XML document is valid or not you must provide a DTD or Schema against which it will be validated.
Congratulations and thanks for advices !!!
Can you tell us for how long did it takes you to prepare and (is possible) what score you had ?
Thanks
Hi Ted and other ranchers,
I have some question regarding Struts & its futures :
1. How would you compare Struts to other Java-MVC frameworks like Turbine, Maverick, WebWork ?
2. Where do you see the place (how it can works together) for Struts in regarding with the coming Java Server Faces standard ?
3. Is there any standard about how to integrate Struts with IDE (as J2EE IDE/App generator are coming their way...) ?
4. What are direction that Struts will be evolved into (ie. features...) ?
Thanks for your time,
22 years ago
Hi Ted,
I have some question regarding Struts & its futures :
1. How would you compare Struts to other Java-MVC frameworks like Turbine, Maverick, WebWork ?
2. Where do you see the place (how it can works together) for Struts in regarding with the coming Java Server Faces standard ?
3. Is there any standard about how to integrate Struts with IDE (as J2EE IDE/App generator are coming their way...) ?
4. What are direction that Struts will be evolved into (ie. features...) ?
Thanks for you time,
22 years ago
From what I understand, well-formed HTML (not well-formed XML) doesn't need to be well-formed XML (ie. <p> tag without closing </p> and more...) so it even won't get through SAX, not mentioning DOM (which in most case use SAX to pre-process XML).
Hi,
I've just tried DOM & SAX Mock exam by Author: Kris. VidhyaSagar
and I'm now a little bit confused with it answer :
DOM & SAX [Design / Implementation/ Information modeling].
Can any more experienced ranchers clearify this ?


2. What are the four interfaces of SAX?
a) DocumentHandler, ErrorHandler, DTDHandler, EntityResolver
b) DocumentHandler, ErrorHandler, DTDHandler, EntityHandler
c) DocumentHandler, Errorhandler, DTDHandler, SchemaHandler
d) None of these


My answer : d
Kris answer : a


3. What does "characters()" method stand for?
a) a method of DOM API to insert character data in the XML document.
b) a method of the SAX DocumentHandler interface to receive notification of the
character data.
c) a method of the DOM interface to replace the entity reference with the character
data.
d) None of these.
My answer : d
Kris answer: b


--------------------------------------------------
DocumentHandler is no longer an interface (deprecated!!!) and became an class in SAX2.
It's worth to noticed that IBM XML Objectives clearly mentioned about SAX2 so the above Kris's answer can't be correct.
-------------------------------------------------


4. There is XML data document which is very large. The application is to extract the very few of its information from document. The memory & speed may be a constraint. Which is the most likely method to be implemented?
a) Extract the information using SAX API, event based methods.
b) To extract the information using DOM API.
c) To extract the necessary information and process using XSLT.
d) To use schema based approach.


My answer:a
Kris answer : b
--------------------------------
Why use DOM when the document is large; memory & speed may be constrained.
--------------------------------


6. When Processing Instructions are a part of your parsing process, DOM should be used, since SAX cannot be used to detect a Processing Instruction in a document.
a)true
b)false


My answer : b
Kris answer : a
--------------------------------
SAX can clearly recognize PI & process it thus the sentence is false.
-------------------------------


7. Consider a system which is memory & speed constraint. The application is to process XML documents, sort the contents and mail them to a higher configuration machine for transformation. Which is the best approach?
a) Use platform native language to process the docuements
b) Use DOM based approach.
c) Using SAX based approach is the best.
d) DOM and SAX must be used in this context.


My answer: c
Kris answer: b
------------------------------------
I can't understand why SAX alone can't be used ???
because DOM is too costly ("memory & speed constraint") ??
------------------------------------


11. Use of SAX based parser is most likely to be used in which of the following scenarios?
a) You want to process the document in a sequential order only.
b) The documents is very large.
c) When there is no need to validate XML documents.
d) The parser implements only SAX based approach.


My answer : a,b
Kris answer: a
-----------------------------------
Why b can't be correct ?
------------------------------------


12. DOM can be used to process the HTML documents also.
a)true
b)false


My answer : b
Kris answer : a
-------------------------------------
??? HTML is not even well-formed XML, so how come DOM cant process it ???
-------------------------------------
Congrats !!!
and thanks for helpful infos
For those preparing for XML, who don't know about it yet (or/and cannot afford for Prof. XML) :
"Essential XML Quick Reference" - Aaron Skonnard, Martin Gudgin

is available free online at
developmentor.com.
This book seems to cover most of exams objective and has some positive response from rancher who passed XML
I wish I knew about this book before ordered Professional XML (not that it's bad, though).
To group moderator:
I think the info about this book should be added to XML Exam FAQ
Ahoo, you're on the right track. I had the same situation.
Just read through the Manning's book and you can be 100% sure to pass SCWCD (however for getting good score like 90+, you will need to study specs a little bit ).
Goodluck,
Thanks for your response !
Is the beta exam open for anyone ?
Have been doing beta, can you tell us what will be new in SCJD/SCEA (will it cover new specs J2SE 1.4, EJB 2.0/2.1, new JSP/Servlets) ?
Hi,
I've just done SCJP & SCWCD and now I'm confused what do to next SCJD or SCEA ?
It seem's that both above cert will be updated next year but there is no exact date.
I'm little bit confused now, whether to go for the old(present) version or wait until new version come out.
Any suggestion ???
Can we have any official's (Sun's) clearification regarding the date of the next version's releases ?
Thanks in advance,
Congratulations !!!
Well done !
22 years ago