aspose file tools*
The moose likes XML and Related Technologies and the fly likes Is it possible to pars a document with mixture of namespace prefix and plain nodes? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Is it possible to pars a document with mixture of namespace prefix and plain nodes?" Watch "Is it possible to pars a document with mixture of namespace prefix and plain nodes?" New topic
Author

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

raminaa niilian
Ranch Hand

Joined: Jul 14, 2005
Posts: 551
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
Bartender

Joined: Oct 14, 2005
Posts: 18657
    
    8

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.
 
 
subject: Is it possible to pars a document with mixture of namespace prefix and plain nodes?