Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Is it possible to pars a document with mixture of namespace prefix and plain nodes?

 
raminaa niilian
Ranch Hand
Posts: 551
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Thank you for reading my post.
I have a DTD for my xml files and also an XSD, sometimes I need to use the DTD and sometimes I need to use the XSD file for validation, what I am looking for is: if I use in my document and the document contains some movies with the namespace prefix, is there any way to parse that document without recieving any error?


Thanks.
 
Paul Clapham
Sheriff
Posts: 21107
32
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Validation doesn't have anything in particular to do with namespaces. What I mean by that is that it is possible to use namespaces in documents that don't have a DTD or a schema associated with them. You don't have to validate those documents, either.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic