parser taking #FIXED Values from DTD 2003-08-07 - By Raveendranath, Rohith (LNG - AUS)
Hii all,
Having a some problems with xerces DOM parser.
I have an xml:
<!DOCTYPE country SYSTEM "country.dtd"> <country name="AU"> <state name="NSW"></state> <city name="dummy"></city> </country>
And my DTD Looks like
<!ELEMENT country (state*,city*)> <!ATTLIST poplulation CDATA #IMPLIED name CDATA #REQUIRED status #FIXED 'dontpopulate' >
Now when iam creating a document object and getting all the attributes of the node country its giveng me name="AU" and status="dontpopulate" -- but i had never put status attribute in the xml.
Can any one please tell me why the parser is taking the #FIXED value though its not there in the xml.
Rohith
This e-mail is for the use of the intended recipient(s) only. If you have received this e-mail in error, please notify the sender immediately and then delete it. If you are not the intended recipient, you must not use, disclose or distribute this e-mail without the author's permission. We have taken precautions to minimise the risk of transmitting software viruses, but we advise you to carry out your own virus checks on any attachment to this e-mail. We cannot accept liability for any loss or damage caused by software viruses.
--------------------------------------------------------------------- To unsubscribe, e-mail: xerces-j-user-unsubscribe@(protected) For additional commands, e-mail: xerces-j-user-help@(protected)
|
|