invalid QName for EMF but not for javax.xml.namespace [message #655098] |
Fri, 18 February 2011 10:16 |
|
Hi,
I have a QName value that works with javax.xml.namespace.QName but not with org.eclipse.emf.ecore.xml.type.internal.QName
I suppose that there is better check to follow W3C recommendation but due to this issue I cannot load the EMF resource.
Is there a way to avoid this check?
BTW you can test it with the following code:
final String qname = "https://editor";
new javax.xml.namespace.QName(qname);
new org.eclipse.emf.ecore.xml.type.internal.QName(qname);
You will see that it hrows the exception for the third line:
org.eclipse.emf.ecore.xml.type.InvalidDatatypeValueException: cvc-datatype-valid.1.2.1: invalid QName: https://editor
Regards,
Aurélien Pupier - Red Hat
Senior Software Engineer in Fuse Tooling team
[Updated on: Fri, 18 February 2011 10:16] Report message to a moderator
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.06480 seconds