aspose file tools*
The moose likes XML and Related Technologies and the fly likes Overrinding ATTLIST in DTD Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Overrinding ATTLIST in DTD" Watch "Overrinding ATTLIST in DTD" New topic
Author

Overrinding ATTLIST in DTD

Vivek Saxena
Ranch Hand

Joined: Apr 24, 2002
Posts: 58
Hi
I have following question/confusion with DTD.
I have an external DTD file called test.dtd.
DTD file

I have following xml file.

When I am trying to validate xml file with dtd I
am getting following error
“ This file is not valid:
Bad value for fixed attribute/element ‘lastname’ – must be ‘saxena’ “
I am using XMLSpy.
As per my understanding, we can override the “ATTLIST” and “ENTITY” with internal declaration of dtd. I may be wrong, please feel free to correct me.

Waiting for help.
Thanks
vivek
[ January 27, 2003: Message edited by: Vivek Saxena ]
[ January 27, 2003: Message edited by: Vivek Saxena ]
Roseanne Zhang
Ranch Hand

Joined: Nov 14, 2000
Posts: 1953
Try here!
http://www.stg.brown.edu/service/xmlvalid/
Vivek Saxena
Ranch Hand

Joined: Apr 24, 2002
Posts: 58
This is a bug in XMLSpy!
Steven Broadbent
Ranch Hand

Joined: Dec 10, 2002
Posts: 400
you can look at the xml spy users forum for
bug reports...


"....bigmouth strikes again, and I've got no right to take my place with the human race...."<p>SCJP 1.4
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Overrinding ATTLIST in DTD