- This topic has 6 replies, 5 voices, and was last updated 17 years, 5 months ago by Ravikanth Athipatla.
-
AuthorPosts
-
kurtgatserentMemberI have an xml & xsd, but when I “right-click-> myeclipse -> run validation” nothing seems to happen. There are glaring errors throughout the document; hence, the question: does this work?
–Kurt
Brian FernandesModeratorKurt,
Yes, it certainly works. XML validation is usually also performed on the fly, as you type. Did you exclude the files in question from validation by any chance? Can you create a dummy project, copy your XML files into them and see if your errors are reported in there?
Could you please answer all the questions asked here Posting Guidelines? That will help us understand whether it’s an installation problem or a configuration issue.
bryanrossMemberI am experiencing the same problem. As of 5.1, I run Validation and nothing happens. No errors in the .metadata/.log file and the file has not been excluded from validation.
*** Date:
Thursday, December 21, 2006 7:23:55 PM CST** System properties:
OS=Linux
OS version=2.6.16.21-0.25-smp
Java version=1.5.0_07*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 5.1.0 GA
Build id: 20061111-5.1.0-GA*** Eclipse details:
MyEclipse Enterprise WorkbenchVersion: 5.1.0 GA
Build id: 20061111-5.1.0-GAEclipse Platform
Version: 3.2.1.r321_v20060921-b_XVA-INSQSyMtx
Build id: M20060921-0945Eclipse RCP
Version: 3.2.1.r321_v20060801-2ekW2BxmcpPUOoq
Build id: M20060921-0945Eclipse Java Development Tools
Version: 3.2.1.r321_v20060905-R4CM1Znkvre9wC-
Build id: M20060921-0945Eclipse Plug-in Development Environment
Version: 3.2.1.r321_v20060823-6vYLLdQ3Nk8DrFG
Build id: M20060921-0945Eclipse Project SDK
Version: 3.2.1.r321_v20060801-tQ1w49KnTArT0FZ
Build id: M20060921-0945Eclipse Graphical Editing Framework
Version: 3.2.1.v20060921
Build id: 20060921-1617Eclipse startup command=-os
linux
-ws
gtk
-arch
x86_64
-launcher
/home/bryros/eclipse/eclipse
-name
Eclipse
-showsplash
600
-exitdata
cf0011
-product
com.genuitec.myeclipse.product.ide
-vm
/usr/bin/java
Riyad KallaMemberI’m posting here as a followup incase other users are having this problem. We are waiting for 5.5 M1 to come out and Bryan has agreed to test it out. We’ve gone back and forth with test cases in email a few times and I’m not able to reproduce the problem locally.
Ravikanth AthipatlaMemberI have posted the same message in another thread. XSD Validation does not work, and I have tried every option to make sure I am not missing anything. This is a feature that works in 3.x release of MyEclipse, and does not work both in 5.1 and 5.5. To me, this a serious bug and the MyEclipse team needs to address this.
Riyad KallaMemberravikanth_iit,
Do you have an example file that I can test that isn’t being validated? Can you PM it to me and include a link to this thread for reference?
Ravikanth AthipatlaMemberIf you go to Window -> Preferences -> MyEclipse -> Validation from the top menu, and go to its validation, you would not see an entry for XML Schema validation, where as you would see other kinds like XML Validator, WSDL Validator, JSP Syntax Validator. Now this explains why the schema file is not being validated at all.
If you copy-paste this snippet in your Editor on version 5.0 and higher, you would not see it being validated at all. Please note that the closing tag is missing ‘>’ for the element ‘invoiceNo’
<?xml version=”1.0″ encoding=”UTF-8″?>
<schema xmlns=”http://www.w3.org/2001/XMLSchema”>
<element name=”invoiceNo” type=”string”></element
</schema> -
AuthorPosts