How to fix corrupted xsd and wsdl files, is there any IDE which can suggest what is wrong? such as eclipse for java code when pressing CTRL + 1 , or where can I find books tutorials to understand formatting of these file types better? thank you
Here is concrete message error I have
[ERROR] 'item' is already defined
line 223 of file:/C:/project/src/main/resources/schema.xsd
[ERROR] (related to above error) the first definition appears here
line 22 of file:/C:/project/src/main/resources/schema.xsd
Related
I'm trying to build a C# project using xbuild/mono on Linux. Despite not having any code with the term "ProjectWeaverXml" in my .csproj file, I keep getting this error.
/home/user/Downloads/ProjectA/ProjectA/ProjectA.csproj: Unable to parse condition "Exists($(ProjectWeaverXml))" : Expected a property at position 8 in condition "Exists($(ProjectWeaverXml))". Missing opening parantheses after the '$'.
I can't find anything even remotely related on Google. Does anyone have a clue what this error could be referring to?
I am trying to generate a C# class from the following ReqIF XSD file.
I have tried with xsd.exe which failed and now also with xsd2code which fails with the following error message (translation: reference to undeclared attribute group):
Xsd2Code Version 3.4.0.32990
Code generation utility from XML schema files.
Error: Verweis auf nicht deklarierte Attributgruppe http://www.w3.org/1999/xhtml:xhtml.style.attrib.
SubType: Unspecified
Rule:
I suppose the xsd file is not 100% correct. I tried to get some information about the xsd format, but with my limited knowledge I was not able to solve the issue.
Does somebody have an idea what could be wrong here or how I could proceed?
Thanks!
I was able to generate java code with the linked files and the following command line on Windows (make sure the files are all in the same directory to make your life easier):
NOTE: It took my PC about 15 minutes to get past the parsing stage. I had thought it was locked up, but grabbed some coffee and was pleasantly surprised when I returned.
"<path_to_xjc.exe>" "<path_to_reqif.xsd>" -b "<path_to_linked_xjb_file>" -extension -p <the.package.name.you.want.to.generate.to>
Link to files I used to generate
I have a series of generic tests that run automatically from a TFS build definition. Some tests that pass are reported as failed in Visual Studio with the message "Summary XMLFile Does Not Conform to Schema". The XML files of the tests with that message are the same as tests that have no problems. Is there anything else that could cause this message? Would something like non-printable characters in the XML file cause it to fail schema validation?
(duplicate of my MSDN forums post)
This was caused by duplicate (non-unique) <TestName> values that I overlooked.
I am tryin to run the cassandra word count example on eclipse. I have loaded all the requisite jar files. But i am still getting some errors, in fileCassandraDemonThread.java
TNonblockingServer.Args serverArgs = new TNonblockingServer.Args(serverTransport).inputTransportFactory(inTransportFactory)
.outputTransportFactory(outTransportFactory)
.inputProtocolFactory(tProtocolFactory)
.outputProtocolFactory(tProtocolFactory)
.processor(processor);
It throws the compilation error: TNonblockingServer.Args cannot be resolved to a type
Can somebody tell if i am missing any file to be linked?
Thanks for the help.
Sounds like you don't have lib/*.jar on your runtime classpath, or less likely you have an old Thrift jar somewhere else that's getting used instead of the right one.
Description Resource Path Location Type
InvalidRegex: Pattern value '([a-zA-Z_]{1,63}[\s-a-zA-Z_0-9.]{0,63}[;]?)*' is not a valid regular expression. The reported error was: ''-' is an invalid character range. Write '-'.' at column '19'. BlackBerry_App_Descriptor.xml /Test Unknown XML Problem
I'am green hand. I want to study BlackBerry. please help me! Thanks!
Have you tried the suggestion from this thread?
http://supportforums.blackberry.com/t5/Java-Development/problem-with-the-BlackBerry-App-Descriptor-xml-in-Eclipse-Plug/td-p/959029
It works for me, after I changed to Java 6.
Additionally you can look here:
eclipse xml error