Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Overrinding ATTLIST in DTD

 
Vivek Saxena
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1953
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try here!
http://www.stg.brown.edu/service/xmlvalid/
 
Vivek Saxena
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is a bug in XMLSpy!
 
Steven Broadbent
Ranch Hand
Posts: 400
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you can look at the xml spy users forum for
bug reports...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic