Difference between and - delphi

I need to parse some text/xml files I get from different sources. Now I have found some problems with line breaks.
In some files i get 
 as line break, in some others i get only 
.
Now our Delphi XE 2 has some problems with 
, it is not imported correctly.
For example:
1. City
State
Result of import:
City
State
City
State
Result of import:
City&&State
Why does this occur and how to solve it?

There is no difference between these two XML texts. 
 specifies the same character as 
. Likewise for
and
.
Your XML parser is broken and the solution is to either fix it or replace it.

Related

Invalid symbol: "default"

My Android project in Xamarin keeps failing to build due to below error
invalid symbol :"default" default.png res/drawable/default.png
not sure what is causing this to happen.
Any help will be greatly appreciated.
Thanks
Ravi
default is c# keyword, you need rename your picture's name.
As mentioned before default is the keywords and that why it's failing . I wanted to share the lists so you may save your time by not using other keyword . We have quite a large number of keywords in c#:
Please find the few list mentioned in link below:
http://azuliadesigns.com/list-keywords-reserved-words/
https://msdn.microsoft.com/en-us/library/x53a06bb(v=vs.120).aspx
http://www.dotnetfunda.com/codes/show/945/list-of-csharp-reserved-keyword
So if u use any of the reserved names u may come across this kind of error.

Error trying to parse file: Unexpected character, expected a comma or closing bracket in Packages\User\Default\(Windows).sublime-keymap:2:28

Ok guys, this is what I get when I try to run Sublime Text 3. Mind you, the program still works but the alert d-box is annoying. How can I get rid of it? Thanks!
do you get that problem when you launch SublimeText?..it seems a error when trying to parse a SublimeText file or maybe some of your files. I understood that you have to separate your word by commas..but i dont know exactly..
Probably you saved (accidently) some of these config files and messed up the syntax. check for modification date of the files you touched. Probably is the file Packages\User\Default\(Windows).sublime-keymap, line 2, column 28.
If you can't work out the hick-up, edit your post and include the line(s) of that file-

carat and New line issues using NHAPI tool in .NET

I'm using NHapi v22 tool for sending HL7 messages. Issue is I'm not able to create component separator(^) and new line. Please tell me how to code for it in C#.
Following is the code:
MSH|^~\&|xyz|xyz|FLOW|FLOW|201601201525||ADT\S\A04|201601201525123456789|P|2.3|||NE|NE
I need to get like this- ADT^A04
I believe the issue here is that \S\ is an escape character for ^ (component separator). Your message should contain an actual component separator with the actual ^ in it, not the escape character.
"ADT" should appear in MSH-9-1 and "A04" should appear in MSH-9-2 as opposed to how I suspect you are doing it with "ADT^A01" in MSH-9.
Does this help? Please feel free to contact me directly if you need more specialized advice.
edit: I don't normally use NHapi but I suspect you may need to do something along this line:
terser.set("/MSH-9-1", "ADT");
terser.set("/MSH-9-2", "A01");
as opposed to something you might be doing
terser.set("/MSH-9", "ADT^A01");

SQLWindows - How to check Line Number?

I am new to SQLWindows IDE and I need to edit a number of SQLWindows applications. I am using Version 3.0.0 of the IDE. I am facing trouble finding the line number of a particular line of code. Is there any setting or way to know the line number of the code? Generally IDEs provide the line number, but I am not able to see any line number details in the [Outline] mode. Kindly help!
SQLWindows doesn't use line numbers at all.
If you want to change similar code lines in several files, I suggest getting acquainted with the CDK, which lets you write applications that alter .app/apt/apl files. Unfortunately wasn't able to find a "Starter Guide" on Google.
Im guessing you have corruption in a apl file ? If so save the file as 'text' , ( never save as Binary i.e. 'Compiled' or 'App' always save using the 'Text' option ) then re-open it. 9 out of 10 any line number errors fix automatically this way . Once you have saved as Text , you can open it and edit it ( carefully ) in Notepad++ .
Its very unusual to need to know a line number....why would you possibly want to know it ? If you explain more , there may be a better workaround ( there always is )

can you insert non-sequence related comments in a fasta file?

I was wondering if anyone knows how to add comments to a fasta file. I tried using the # character but it doesn't sit well with alignment algorithms/software.
Thanks,
What I usually found is that there are no comments. But in the wikipedia article it says that you could add comments after the > line if starting with ;. But I have never found anyone with this notation.
But I have never found any fasta file with comments. Usually the header or the name get this attribution so > E.coli can be converted to > E.coli X43 methanol as you can see here
But usually, as seen here, and here is added as a description as said.
You are not allowed to adds comment IN the sequence. But you could add a comment within an alternative format like one of the XML-based ones published by the NCBI.

Resources