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 "Roytman, Alex" <ro...@peacetech.com> on 2000/06/28 21:06:20 UTC

Strange problem with attribute default value in Xerces 1.1.2

Hello,

I am experiencing a very strange problem with my old code (worked fine under
all versions of xerces since 1.0.3)

for all attributes declared in my dtd as
 lookup (true|false) "false"

myelement.getAttribute("lookup") always returns "false" (default) value
regardless of the actual data in my XML file

Thank you very much in advance

Alex

Re: Strange problem with attribute default value in Xerces 1.1.2

Posted by Eric Ye <er...@locus.apache.org>.
Are you saying before xerces-1_0_3 your code worked? and it is broken right
now with xerces-1_1_2?

Best regards
Eric
----- Original Message -----
From: "Roytman, Alex" <ro...@peacetech.com>
To: <xe...@xml.apache.org>
Sent: Wednesday, June 28, 2000 12:06 PM
Subject: Strange problem with attribute default value in Xerces 1.1.2


> Hello,
>
> I am experiencing a very strange problem with my old code (worked fine
under
> all versions of xerces since 1.0.3)
>
> for all attributes declared in my dtd as
>  lookup (true|false) "false"
>
> myelement.getAttribute("lookup") always returns "false" (default) value
> regardless of the actual data in my XML file
>
> Thank you very much in advance
>
> Alex
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-j-dev-help@xml.apache.org
>
>