You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by Alan Ezust <al...@gmail.com> on 2006/06/25 18:43:02 UTC
XSElementDeclaration.getAbstract()
I'm patching jedit's XML plugin, which uses xerces/j 2.8.1. I want to
parse a docbook 4.4 xsd document with xerces. It seems to work ok,
with th exception of the value of getAbstract(), which seems to return
false for elements such as para.class and list.class, which are
definitely abstract classes. Xerces 2.8.1.
I'm a bit new to xerces programming, can someone else confirm this bug?
---------------------------------------------------------------------
To unsubscribe, e-mail: j-users-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-users-help@xerces.apache.org
Re: XSElementDeclaration.getAbstract()
Posted by Michael Glavassevich <mr...@ca.ibm.com>.
"Alan Ezust" <al...@gmail.com> wrote on 06/25/2006 05:31:59 PM:
> I apologise, I meant 2.8.0
>
> I'll try the latest SVN if you think those bugs were fixed since 2.8.0.
I don't recall there being a fix in this area after 2.8.0. Since I cannot
reproduce what you observed, it would make it easier to determine what's
going on if you posted some code which shows what you're doing.
> However, I noticed that I can only see the web interface,
> http://svn.apache.org/viewvc/xerces/java/trunk/.
> If I want to check it out using a command line svn (read only), what
> is the right
> protocol/address?
It is "http://svn.apache.org/repos/asf/xerces/java/trunk/".
Thanks.
Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: mrglavas@ca.ibm.com
E-mail: mrglavas@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: j-users-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-users-help@xerces.apache.org
Re: XSElementDeclaration.getAbstract()
Posted by Alan Ezust <al...@gmail.com>.
I apologise, I meant 2.8.0
I'll try the latest SVN if you think those bugs were fixed since 2.8.0.
However, I noticed that I can only see the web interface,
http://svn.apache.org/viewvc/xerces/java/trunk/.
If I want to check it out using a command line svn (read only), what
is the right
protocol/address?
On 6/25/06, Michael Glavassevich <mr...@ca.ibm.com> wrote:
> Hello Alan,
>
> Xerces 2.8.1 doesn't exist (yet). Are you sure you don't mean Xerces 2.6.1
> or 2.7.1? We've fixed many bugs since both of those releases.
>
> With the latest code in SVN, getAbstract() returns true for the
> (para.class and list.class) element decls you mentioned from the docbook
> schema [1]. If there was a bug in this area it looks like it was fixed.
>
> Thanks.
>
> [1] http://www.docbook.org/xsd/4.4/docbook.xsd
>
> "Alan Ezust" <al...@gmail.com> wrote on 06/25/2006 12:43:02 PM:
>
> > I'm patching jedit's XML plugin, which uses xerces/j 2.8.1. I want to
> > parse a docbook 4.4 xsd document with xerces. It seems to work ok,
> > with th exception of the value of getAbstract(), which seems to return
> > false for elements such as para.class and list.class, which are
> > definitely abstract classes. Xerces 2.8.1.
> >
> > I'm a bit new to xerces programming, can someone else confirm this bug?
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: j-users-unsubscribe@xerces.apache.org
> > For additional commands, e-mail: j-users-help@xerces.apache.org
>
> Michael Glavassevich
> XML Parser Development
> IBM Toronto Lab
> E-mail: mrglavas@ca.ibm.com
> E-mail: mrglavas@apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: j-users-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-users-help@xerces.apache.org
Re: XSElementDeclaration.getAbstract()
Posted by Michael Glavassevich <mr...@ca.ibm.com>.
Hello Alan,
Xerces 2.8.1 doesn't exist (yet). Are you sure you don't mean Xerces 2.6.1
or 2.7.1? We've fixed many bugs since both of those releases.
With the latest code in SVN, getAbstract() returns true for the
(para.class and list.class) element decls you mentioned from the docbook
schema [1]. If there was a bug in this area it looks like it was fixed.
Thanks.
[1] http://www.docbook.org/xsd/4.4/docbook.xsd
"Alan Ezust" <al...@gmail.com> wrote on 06/25/2006 12:43:02 PM:
> I'm patching jedit's XML plugin, which uses xerces/j 2.8.1. I want to
> parse a docbook 4.4 xsd document with xerces. It seems to work ok,
> with th exception of the value of getAbstract(), which seems to return
> false for elements such as para.class and list.class, which are
> definitely abstract classes. Xerces 2.8.1.
>
> I'm a bit new to xerces programming, can someone else confirm this bug?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: j-users-unsubscribe@xerces.apache.org
> For additional commands, e-mail: j-users-help@xerces.apache.org
Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: mrglavas@ca.ibm.com
E-mail: mrglavas@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: j-users-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-users-help@xerces.apache.org