• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Overrinding ATTLIST in DTD

 
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Ranch Hand
Posts: 1953
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This is a bug in XMLSpy!
 
Ranch Hand
Posts: 400
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
you can look at the xml spy users forum for
bug reports...
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic