Sergey Gribok

Greenhorn
+ Follow
since Mar 28, 2002
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Sergey Gribok

You get such output because there are default template rules exists in XSLT and you didn't redefine this rules. The default rule for elements is:
<xsl:template match="*|/">
<xsl:apply-templates/>
</xsl:template>
The default rule for text and attributes is:
<xsl:template match="text()|@*">
<xsl:value-of select="."/>
</xsl:template>

You didn't define rule for root node "/" therefore default rule uses.
Thanks all!
I haven't any working experience with XML before starting the preparation.
My preparation time is about two months (in free time from my work).
I don't remember exactly in what sample tests I saw the exactly same questions. I used both IBM sample tests (141 and old 140) and Whizlab trial test.
I don't remember questions on XSL-FO on the exam.
There were some questions on Schema syntax, XSLT syntax, DOM and SAX syntax. Except this there were some questions on what some technology can and what it can't, which technology you have to use in some circumstances.
I passed it with 73%! Thanks all!
I think the exam is not so difficult as described some ranchers. Don't afraid it!
Some questions (about 3-4) are the exactly same as in sample tests! A lot of questions (not very difficult) on XSLT and Schema syntax.
My resources for preparation:
1. Sample chapters from "XML Bible". Chapters about XSLT and Schema are very usefull! I read them a lot of times!
2. 1-st edition of "Professional XML". I read only chapters about XML and DTD syntax.
3. 2-nd edition of "XSLT" of Michael Key. I read only some sections about concepts that described unclear in XML Bible
4. Java API (DOM and SAX)
Therefore declaration
<?xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"?>
is PI too!
xsl:stylesheet - valid name
version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - valid instruction
But in "XML Bible" you can read

XML data types
The next batch of schema data types should be quite familiar. These are the types related to XML constructs themselves. Most of these types match attribute types in DTDs such as NMTOKENS or IDREF. The difference is that with schemas these types can be applied to both elements and attributes.

Except this Xalan allows to use ID and IDREF with elements.
[ July 30, 2002: Message edited by: Sergey Gribok ]
Are these answers for the questions really correct?
I have greate doubts.
As far as I understand the answer on Q 25 is false, the answers on Q 22 are 1 and 3

Q 25. The XML schema built-in datatypes ID and IDREF must only be used with attribute
declarations.

True.

False.

Its true.
Certain datatypes in XML schema are reserved for attributes only.
Please refer XML Schema specification by W3C for more details.

Q 22. Which of the following are processing instructions?

<?xml-stylesheet type="text/xsl" href="style.xsl" ?>

<?xml version="1.0" ?>

<?xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"?>

<!DOCTYPE name SYSTEM "" >

<?xml-stylesheet type="text/xsl" href="style.xsl" >

<?xml version="1.0" encoding="UTF-8"?>

Correct answer is 1,2,5 and 6.
Option3 is incorrect <xsl:stylesheet> is not processing instruction and does not
start with ?. Option4 is DTD declaration and it too is not a processing instruction.
Processing instructions is xml convention for passing instructions from document
directly through parser to 'presentation software' to instruct it about 'how to
process the document or part of it?'

[ July 26, 2002: Message edited by: Sergey Gribok ]
[ July 26, 2002: Message edited by: Sergey Gribok ]
But you can't create this structure:
<A>
<C/>
<B/>
<C/>
</A>
while the DTD <!ELEMENT A (#PCDATA | B | C)*> allows the structure.
[ July 08, 2002: Message edited by: Sergey Gribok ]
Thank you, Rakesh! I undestand now!
P.S.
Note that there is an inaccuracy in your code.
I must write minOccurs="0" maxOccurs="unbounded"
for <choice> element itself, but not for inner elements.
I heard a lot of times that schemas are more powerful than DTDs. But I can't build equivalent schema for DTD, containing string
<!ELEMENT A (#PCDATA | B | C)*>
Can anyone explain how to build it?
I hasn't 488 exam
Only 483 and 486 (OOAD with UML)
I think that 483 is J2EE 1.2 exam because
1. It doesn't contain objectives on Message driven beans and other new 1.3 technologies
3. IBM WAS 4 is not J2EE 1.3 compatible.

I was very surprised when I saw the real exam questions. I supposed to see something similar to sample test, but
My list of educational resources is very simple and includes only resources avallable online:
1. Mastering EJB, 2nd edition from )www.theserverside.com - great book!
2. J2EE developer's guide (from J2EESDK 1.2)
3. SUN's tutorials for JMS, RMI, JDBC (but now I see that it is not enough: i had only 54% on connectivity services)
Except this I reviewed my old SCWCD exam resources
4. Core servlets and JSP
5. Ken Zrobok notes from (Javaranch SCWCD links)
I passed the exam with 73%!!! The real exam is far harder then the sample test. You must have a really good knowledge of JSP, Servlets, JNDI, RMI and especially EJB (including deployment descriptor structure!).
Some months ago I asked the similar question to jcert Inititative themselves ( jcertinfo@jcert.org ). Here is their answer:
Regarding your question:
Can I include SCWCD (Sun Certified Web Component Developer) SUN's exam as
an Application Development for the Java Platform exam (Skill 2B) ?
The answer is "no" at this time. The Sun does not have any jCert
certification exams in the Level 2 area. Sun is only participating in jCert
at Level 1 and Level 3. Candidates who are interested in getting a Certified
Solutions Developer certification will need to take the 2A (vendor-neutral
exam from Prosoft-CIW, Oracle or IBM) and the 2B exam (from Hewlett-Packard,
IBM or Oracle).