This week's giveaway is in the Programmer Certification (OCPJP) forum.
We're giving away four copies of Java Mock Exams (software) and have David Mayer on-line!
See this thread for details.
Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) 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: 21945
36
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.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!