----- Original Message -----
From: Paul Sandoz <Paul.Sandoz_at_Sun.Com>
Date: Friday, January 21, 2005 9:46 am
Subject: Re: StAXDocumentParser
> Huizhe Wang wrote:
> >>>not implemented yet (which was the cause of 3 failures). For
> the
> >>
> >>event
> >>
> >>>API, almost all of the failures were due to the lack of
> >>
> >>implementation
> >>
> >>>on create serializer with io.Writer input. As discussed on the
> >>
> >>phone,
> >>
> >>>I'll come back to fix them after performance work.
> >>>
> >>
> >>So are you saying that all parser tests now pass except for the
> >>ones
> >>that use NamespaceContext?
> >
> >
> > No. Creating a seriallizer with io.Writer as input has not
> implemented
> > yet. Therefore, all of the writer test will not pass.
> >
>
> Ah, crossed wires i was talking about the *parser tests* not the
> serializer tests :-)
>
> What is the percentage pass rate for the parser tests?
The official report from JavaTest shows we passed 9 of 27 tests. They
are 20 general tests and 7 API tests. The reason for the failed tests:
-- 9 related to the lack of implementation of
outputFactory.createXMLStreamWriter(java.io.FileWriter). Although this
doesn't make any sense to FI implementation, we have to do it, similar
to what we did to createXMLStreamReader(Reader). I'm thinking creating
a serializer wrapper to fix this one.
-- 4 API test failed due to the lack of NamespaceContext
-- 3 of 4 filter test failed that I believe I can fix
-- 1 related to sample.xml which we couldn't parse
-- 1 WSDLReaderTest failed
As we discussed earlier, I'll come back to fix them after performance
testing.
By the way, the following test file has an error in the dessert element
as I mentioned. Will check with BEA.
<doc xmlns:a="apple" xmlns:o="orange" xmlns="banana">
<a:A><o:a/><a:a/><a/></a:A>
<B><b/><b/><b/></B>
<product
xmlns:fruit="
http://nowhere.com"
name="BEA Weblogic Server 6.0"
a:date="Date of Release 12/18/2000"
copyrite="2000-2001 BEA Systems, Inc." >
<child
fruit:mango="sweet"/>
<child2
grapefruit="sour"/>
</product>
<food
xmlns:fruit="
http://fruit.com"
xmlns:veggies="
http://veggies.com"
xmlns:pastries="
http://pastries.com"
xmlns:sweets="
http://fruit.com"
xmlns="
http://maincourse.com"
type="dinner">
<starter
veggies:soup="chinese"/>
<maincourse
xmlns:foodtype="
http://maincourse.com"
xmlns:sidedish="
http://fruit.com"
foodtype:italian="pasta"
size="1 bowl"/>
<dessert
xmlns="
http://cakes.com"
type="chocolate"/>
</dessert>
</food>
</doc>
Joe
>
> Paul.
>
> --
> | ? + ? = To question
> ----------------\
> Paul Sandoz
> x38109
> +33-4-76188109
>
>
> -------------------------------------------------------------------
> --
> To unsubscribe, e-mail: dev-unsubscribe_at_fi.dev.java.net
> For additional commands, e-mail: dev-help_at_fi.dev.java.net
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_fi.dev.java.net
For additional commands, e-mail: dev-help_at_fi.dev.java.net