Namespace validation

View: New views
2 Messages — Rating Filter:   Alert me  

Namespace validation

by binums :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am using EMF to parse and validate XML, our XML might contain name space or null. I would like the file to be parsed in either case without any error . How to skip the namespace validation.

Re: Namespace validation

by Ed Merks-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Please use the EMF newsgroup to ask questions.
news://new.eclipse.org/eclipse.tools.emf
Perhaps it's as simple as registering the XyzPackage.eINSTANCE with null as the key in the resource set's package registry.


binums wrote:
I am using EMF to parse and validate XML, our XML might contain name space or
null. I would like the file to be parsed in either case without any error .
How to skip the namespace validation.
  

_______________________________________________
emf-dev mailing list
emf-dev@...
https://dev.eclipse.org/mailman/listinfo/emf-dev