You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by Arun Yadav <Ar...@Sun.COM> on 2001/10/24 15:16:48 UTC
patch for Entity/notation (was Re: [Xerces2] Beta3 Release Plan)
Hi,
Please find the attached patch for AbstractDOMParser.
AbstractDOMParser as of now doesn't provide the implementation for Notation and
Entity Nodes. I have implemented the notation, internalentity, externatentity
and unparedentity method in AbstractDOMPaser. Currently,it doesn't take care of
Derferred DOM. After implementing above changes, domunit.jar is reporting 7
failures and 0 errors out of 25 failures and 10 errors.
I will submit the patch for remaining failures soon.
Cheers,
Arun
Sun Microsystem,Inc.
Curt Arnold wrote:
> Glad XML conformance is getting there. However, the results of (unofficial)
> DOM conformance testing are still looking like a serious regression from
> Xerces-J 1.
>
> Running the domunit.jar tests from xmlconf report 25 test failures where
> Xerces-J 1 had 0. It looks like DocumentType.getEntities() and
> DocumentType.getNotation() are returning zero length lists when there are
> entities and notations declared in the DTD causing all entity and notation
> related tests to fail.
>
> To run domunit, download
> http://prdownloads.sourceforge.net/xmlconf/domunit-0.0.6.zip, unzip and
> place junit.jar (http://www.junit.org) and xerces.jar in same directory and
> java -jar domunit.jar.
>
> Things get worse with the in-development W3C DOM test for Level 1 core where
> the first pass shows similar results to domunit, however the second pass,
> where options like ignoreElementContentWhitespace, expandEntityReferences,
> etc are changed from their non-default values has almost all tests failing.
> The most likely cause of this (due to the number of tests effected) is the
> ignoreElementContentWhitespace attribute being either ignored or differently
> implemented.
Re: patch for Entity/notation (was Re: [Xerces2] Beta3 Release Plan)
Posted by Andy Clark <an...@apache.org>.
Arun Yadav wrote:
> Please find the attached patch for AbstractDOMParser.
Okay, I've put in a bunch of fixes to add the functionality
and domunit 0.0.6 is reporting 6 failures. However, I'm
noticing that there is a bug in the deferred case now. I
will look at this a little later today (hopefully before
the code freeze for the build).
--
Andy Clark * IBM, TRL - Japan * andyc@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org
Re: patch for Entity/notation (was Re: [Xerces2] Beta3 Release Plan)
Posted by Andy Clark <an...@apache.org>.
Arun Yadav wrote:
> Please find the attached patch for AbstractDOMParser.
I can't use your patch because it assumes that the Xerces DOM
implementation is always used (which may not be the case) and
it doesn't create the appropriate deferred nodes. However,
thanks for telling me about the missing functionality.
--
Andy Clark * IBM, TRL - Japan * andyc@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org