JAVA Regex Illegal Characters

Hello - I am trying to find a list of all illegal characters which have to be escaped in JAVA Regex pattern matching but I cannot find a complete list.
Also I understand that when doing the replaceall function that there is a special list of characters which can't be used for that as well, which also have to be escaped differently.
If anyone has access to a full complete list as to when to escape and how I would greatly appreciated it!
Thanks,
Dan

I also noticed this below link:
http://java.sun.com/docs/books/tutorial/extra/regex/literals.html
It said the following characters are meta-characters in regex API:
( [ { \ ^ $ | ) ? * + .
But it also says the below:
Note: In certain situations the special characters listed above will not be treated as metacharacters. You'll encounter this as you learn more about how regular expressions are constructed. You can, however, use this list to check whether or not a specific character will ever be considered a metacharacter. For example, the characters ! @ and # never carry a special meaning.
Does anyone know if there would be any issues if I escaped when a character didn't need to be escaped?

Similar Messages

  • Java methods won't recognize standard regex meta-characters

    First of all, let me say that this is my first attempt at using Java regular expressions. However, I'm stumped as to why my code doesn't work
    unless I use strictly text characters. Any use of standard regex meta-characters results in failure.
    I'm re-writing a routine I've used for years that is written in Perl and works great. The program scans COBOL source code files looking for
    instances of the COBOL syntax COPY followed by the name of a COBOL source code file. There will be at least one space between COPY and the
    file name, but there may be more.
    I've been using this pattern: \\.\*COPY\\s+FILENAME\\.\* Since the program loads every file in a directory and scans them one at a time, I
    wanted to use the Pattern method compile to save time and then use the Matcher methods. The Java program compiles without errors but the match fails.
    I abandoned the Pattern and Matcher, used the String method contains and reduced the input to just COPY\s+FILENAME but that didn't work either.
    Finally I abandoned all regex meta-characters and passed the literal "COPY FILENAME" to the contains method. Success at last!
    What gives? It's not like I'm doing anything particularly fancy.
    Edited by: user735407 on Apr 13, 2012 9:47 AM
    Edited by: user735407 on Apr 13, 2012 9:48 AM

    This is the kind of stuff that makes me wonder sometimes whether I should just apply for a job an Mickey D's and give up this programming
    s**t.
    I copied the patern string from my Perl program, forgetting that I had specified the period (".") that should always follow the FILENAME
    in the code as part of the pattern. I thought the backslash was necessary because the period was a meta-character.
    I removed the backslashes in front of the periods and went back to the Pattern class compile method and the use of a Matcher to
    match the pattern. Now it works!
    Way back when I was just a fresh-faced young programmer, a developer with decades of experience was consoling me after I had spent
    a whole day tracking down a compiler error and discovered a simple "fat finger" typing error. He told me that 25 years in the future, after
    I had written thousands of programs in many languages, I would still be making exactly this type of mistake and that I had better accept
    that fact or I would be fated to die an early death.
    Thanks a million for saving me hours of futile code-bashing!!!!

  • What is the escape character for DOT in java regex?

    How to specify a dot character in a java regex?
    . itself represents any character
    \. is an illegal escape character

    The regex engine needs to see \. but if you're putting it into a String literal in a .java file, you need to make it \\., as Rene said. This is because the compiler also uses \ as an escape character, so it will take the first \ as escaping the second one, and remove it, and the string that gets passed onto the regex will be \.

  • Illegal characters in SOAP message

    Hi
    I consistently get the following in the server log (I'm using JAX-WS 2.1):
    Couldn't create SOAP message due to exception: XML reader error: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,1]
    Message: Content is not allowed in prolog.
    com.sun.xml.ws.protocol.soap.MessageCreationException: Couldn't create SOAP message due to exception: XML reader error: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,1]
    Message: Content is not allowed in prolog.
    at com.sun.xml.ws.encoding.SOAPBindingCodec.decode(SOAPBindingCodec.java:292)
    at com.sun.xml.ws.transport.http.HttpAdapter.decodePacket(HttpAdapter.java:276)
    at com.sun.xml.ws.transport.http.HttpAdapter.access$500(HttpAdapter.java:93)
    at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:432)
    at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:244)
    at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:135)
    at com.sun.enterprise.webservice.JAXWSServlet.doPost(JAXWSServlet.java:176)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:738)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
    at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:317)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
    Caused by: com.sun.xml.ws.streaming.XMLStreamReaderException: XML reader error: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,1]
    Message: Content is not allowed in prolog.
    at com.sun.xml.ws.streaming.XMLStreamReaderUtil.wrapException(XMLStreamReaderUtil.java:267)
    at com.sun.xml.ws.streaming.XMLStreamReaderUtil.next(XMLStreamReaderUtil.java:95)
    at com.sun.xml.ws.streaming.XMLStreamReaderUtil.nextContent(XMLStreamReaderUtil.java:110)
    at com.sun.xml.ws.streaming.XMLStreamReaderUtil.nextElementContent(XMLStreamReaderUtil.java:100)
    at com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:174)
    at com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:296)
    at com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:128)
    at com.sun.xml.ws.encoding.SOAPBindingCodec.decode(SOAPBindingCodec.java:287)
    ... 52 more
    Is there any way to avoid having to parse illegal characters in the HTTP SOAP request? E.g. by stripping off BOM (byte order mark) characters prior to conversion to SOAP?
    Help much appreciated,
    Lance

    Hi lance,
    Hi
    I consistently get the following in the server log (I'm using JAX-WS 2.1):
    Couldn't create SOAP message due to exception: XML reader error: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,1]
    Message: Content is not allowed in prolog.
    com.sun.xml.ws.protocol.soap.MessageCreationException: Couldn't create SOAP message due to exception: XML reader error: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,1]
    Message: Content is not allowed in prolog.
    at com.sun.xml.ws.encoding.SOAPBindingCodec.decode(SOAPBindingCodec.java:292)
    at com.sun.xml.ws.transport.http.HttpAdapter.decodePacket(HttpAdapter.java:276)
    at com.sun.xml.ws.transport.http.HttpAdapter.access$500(HttpAdapter.java:93)
    at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:432)
    at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:244)
    at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:135)
    at com.sun.enterprise.webservice.JAXWSServlet.doPost(JAXWSServlet.java:176)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:738)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
    at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:317)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
    Caused by: com.sun.xml.ws.streaming.XMLStreamReaderException: XML reader error: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,1]
    Message: Content is not allowed in prolog.
    at com.sun.xml.ws.streaming.XMLStreamReaderUtil.wrapException(XMLStreamReaderUtil.java:267)
    at com.sun.xml.ws.streaming.XMLStreamReaderUtil.next(XMLStreamReaderUtil.java:95)
    at com.sun.xml.ws.streaming.XMLStreamReaderUtil.nextContent(XMLStreamReaderUtil.java:110)
    at com.sun.xml.ws.streaming.XMLStreamReaderUtil.nextElementContent(XMLStreamReaderUtil.java:100)
    at com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:174)
    at com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:296)
    at com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:128)
    at com.sun.xml.ws.encoding.SOAPBindingCodec.decode(SOAPBindingCodec.java:287)
    ... 52 more
    [Look here|http://forums.java.net/jive/message.jspa?messageID=194629]
    seems trivial !!
    the same msg comes up for various issues related to SOAP requests...
    Is there any way to avoid having to parse illegal characters in the HTTP SOAP request? E.g. by stripping off BOM (byte order mark) characters prior to conversion to SOAP?
    Not sure if there is ?
    You have to ensure no illegal characters exists in the SOAP request (Rather than looking for a work around) ; )
    Help much appreciated,
    Lance

  • Java Regex Pipe Delimited ?

    Hello
    I am trying to split the string which is pipe delimited. I am new to Regex and new to Java.
    My Java/Regex code line to split is:
    listColumns = aLine.split("\\|"); // my code has 2 backslash-escapes chars plus 1 pipe char but this forum does not allow me to put pipes or escapes correctly and plain text help is of NO HELP 8^(
    My input string has 3 leading and 4 trailing pipe characters
    My Output from split: (3 leading emptry strings work but 4 trailing pipe delimiters dont work)
    SplitStrings2:[]
    SplitStrings2:[]
    SplitStrings2:[]
    SplitStrings2:[col1]
    SplitStrings2:[col3]
    SplitStrings2:[col4]
    I do get 3 empty strings for all 3 leading pipes but no empty strings for the any traling 4 pipe characters.
    What do I need to change the code such that all repeated pipes resulted in same number of empty strings returned by split method?
    thanks
    YuriB
    Edited by: yurib on Nov 28, 2012 12:25 PM
    Edited by: yurib on Nov 28, 2012 12:25 PM
    Edited by: yurib on Nov 28, 2012 12:29 PM

    1. The pipe is a meta-character so escape it.
    2. Split rolls things up for you unless you tell it otherwise.
    String s = "|||A|B|C||||";
    String[] array = s.split("[|]", 10);
    for(int i=0; i < array.length; i++)
         System.out.println("" + i + ": " + array);

  • Sed rules to java regex

    Hi,
    what is the connection between sed regex rules and java regex rule. Is there an easy way to convert sed to java? or do i have to learn sed?....
    Thanks

    IIRC, Java regex rules are like Perl's (although the syntax for invocation differs a bit), and Perl's are basically a superset of sed's, except there's a difference with parentheses. In Perl/Java, parentheses always group and you have to backslash-quote them to make them interpreted as plain parenthesis characters, whereas in sed, you backslash-quote them to make them be interpreted as grouping indicators.
    Why? What problem are you having?

  • Illegal characters removal .

    Hi all,
    We are getting some illegal characters, when we checked the product details it has "-" character but on the site it is showing "?" character. Even when tried with valueishtml="true" did'nt helped. We cant touch any Java classes for right now, is there any solution in jsp side , or any droplet is there which i am not aware of ? can anyone suggest us how to resolve this please .
    Just for the record our application is UTF-8.
    Thanks,

    I think Gautam may be on the right track. It sounds like your character is stored correctly in the database and is getting replaced by ? either in the jdbc driver or in the GSA repository code when ATG fetches the db record. The fact that you're seeing ? in both /dyn/admin and the ACC leads me to that conclusion. /dyn/admin is a mix of jhtml and plain html. The ACC is a java Swing app. The repository layer must think the character is a ?. If the repository layer has the wrong character, you'll never be able to fix it in your jsp code.
    There are some properties of GSARepository that affect character set translation. The properties are useSetAsciiStream, useSetBinaryStream, and useSetUnicodeStream. They're described in the SQL Repository Reference chapter of the ATG Repository Guide. Every repository has its own copy of the properties. I don't know of any cases where the ootb property values do the wrong thing for the Oracle db, but it's something you could play with if you're still stumped. First make sure you're running with the ootb values for the repository that's causing trouble. Then try changing the values (one at a time) to see if they make any difference. You might have to restart your ATG server for each change to take effect.

  • Cannot insert Captivate Demo - filename contains illegal characters

    RoboHelp HTML v8 on XPpro. Captivate v4.
    I have created a simple Captivate v4 application demo and published to SWF.
    In my RHhtmlv8 project, I create a new topic, and choose Insert > Adobe Captivate Demo.
    The Insert dialog allows me to select my SWF file. It shows it in the Insert dialog and starts to play it.
    No matter what my SWF filename is (e.g. abc.swf, video1.swf, etc.), when I click the OK button in the Insert dialog, I get the error:
    'Unable to rename file, "abc.swf". The filename contains illegal characters.'
    I have searched the forums here and find no solution.
    How do you get support from this company? I went to the support link and it only showed Captivate as an option, even though I have a valid license for RH8 and have registered it. Yet - for 2 days now, I have not heard back from any support via that mechanism.
    Jeff

    Hi Jeff
    When you attempt to insert the demo, by chance do you still have the project open in the Captivate editor? If so, you likely need to close it there before attempting to insert into RoboHelp. I've seen all manner of weirdness with this.
    Another thing that seems to have happened recently that is worth looking at. When you Published your Captivate demo, did you Publish as AS2 or AS3? (For those that may wonder, AS refers to ActionScript. Similar to JavaScript and is the Flash programming language.)
    I've begun to notice issues with inserting Captivate content where I have published as AS3.
    Let us know... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Converting sed regex to Java regex

    I am new to reguler expressions.I have to write a regex which will do some replacements
    If the input string is something like test:[email protected];value=abcd
    when I apply the regex on it,this string should be changed to test:[email protected];value=replacedABC
    I am trying to replace test.com and abcd with the values i have supplied...
    The regex I have come up with is in sed
    s/\(^.*@\)\(.*\)$/\1replaceTest.com;value=replacedABC/i
    Now I am trying to get the regex in Java,I would think it will be something like (^.*@\)(.*\)$\1replaceTest.com;value=replacedABC
    But not sure How i can test this.Any idea on how to make sure my java regex is valid and does the required replacements?

    rsv-us wrote:
    Yep.Agreed.
    Since that these replacements should be done in a single regex.Note that the sed replacement I posted is really made of two replacements! Just like your Java solution would.
    I think once we send this regex to the third party,they will haev to use either sed or perl(will perl do this replacements,not sure though) to get the output.
    Since we are not sure what tool/software the third party is going to use,I was trying to see how i can really test this.Then I read about sed and this regex as is didn't work,so,I had to put all the sed required / and then the regex had become like s/\(^.*@\)\(.*\)$"/1replaceTest.com;value=replacedabcd/iAgain: AFAIK that does not work. I tried it like this:
    {code}$ echo test:[email protected];value=abcd | sed 's/\(^.*@\)\(.*\)$"/1replaceTest.com;value=replacedabcd/i'and the following is returned:test:[email protected] that we will have to send the java regex to the third party,I was trying to see how i can convert this sed regex to java.If I am right,with jave regex,we won;t be able to all the finds and replacements in a single regex..right?...If this is true,this will leave me a question of whether I need to send the sed regex to the thrid party or If I send java regex,they have to convert that to either sed or perl regex.
    One more question,can we do thse replacement in perrl also,if so,what will the equivalent regex for this in perl?
    I can't understand what you are talking about. The large amount of spelling errors also doesn't help to make it clearer.
    Good luck though.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to use sed on a literal string containing regex meta characters?

    I want to delete the lines from a file which match an arbitrary literal string.
    The string is contained in a variable, and may itself contain various regex meta characters such as [,],^,$,|, etc
    So, my problem is that sed wants to interpret these meta characters itself. For example:
    x='abc[xyz$'
    sed -i "/$x/d" file
    produces a sed error about the unmatched [, and no doubt it wants to interpret the $ too.
    (Of course, I could try and change the string $x so that every possible regex meta character was escaped with a \, but that seems immensely cumbersome. Also, can't see a way of using single or double quotes cleverly.)
    Sorry if I am being thick about this, but any ideas or alternative methods would be most welcome!

    frostschutz wrote:
    With sed, you have to escape meta characters indivudually. That's just how it works. Of course you could do the escaping using sed as well, by replacing all meta characters (including \ and /) with \character.
    If you want to match strings literally, use a different tool. Or do it in Bash.
    while read line
    do
    [ "$line" != "$x" ] && echo "$line"
    done < file
    In Perl/PCRE instead of escaping indivudually there is \Q...\E but sed does not understand that, and \Q\E does not solve all problems either, if there is a \E in the $x you have to escape it with \E\\E\Q or something like it.
    Thank you for your swift reply. Looks like sed can't be much of a friend in these circumstances!
    Probably will have to go with the Bash file handling method.
    Oh well ...

  • Insert 'illegal' characters into file name for print label?

    Hey all (Happy New Year)
    I actually see some people here who helped me with this originally so many years ago (hi 'x'). Any way, I'm using this .js file to annotate aerial imagery prior to printing, and I know just enough about scripting to make changes to the basic layout as needs arise - until now. A new rather anal retentive mgr doesn't like substitutions I've made for a few 'illegal' characters that windows doesn't allow in file names. For example, the file name used for the annotation is:
    001    0003    1in = 660ft    CFL 154_074    01-01014   503-013.tif
    But Mr. mgr doesn't like the in, the ft and the use of the _ instead of a period (.) so what I need is a modification that goes something like (and note I DO NOT CODE, so stop laughing) -
    "look for in and replace with ", look for ft and replace with ' and look for _ and replace with , " so the final annotation written to the image is:
    001    0003    1" = 660'    CFL 154.074    01-01014   503-013.tif
    My current .js is below, I'd really appreciate any assistance. Thanks! TLL
    // CREATE NEW CANVAS W/SPACE ON TOP
    var deltaW = 0; // add 'N' pixels to the width
    var deltaH = 150; // add 'N' pixels to the height
    var anchor = AnchorPosition.BOTTOMCENTER; // anchor point for canvas resize
    // SET FONT TYPE AND SIZE - use GetFontName.js to get exact name
    var fontName = "ArialMT";
    var fontSize = 18;
       // Check if a document is open
       if ( documents.length > 0 ) {
       var originalRulerUnits = preferences.rulerUnits;
       preferences.rulerUnits = Units.PIXELS;
       try {
         var docRef = activeDocument;
         docRef.resizeCanvas(docRef.width + deltaW, docRef.height + deltaH, anchor);
       // Create a text layer at the front
       var myLayerRef = docRef.artLayers.add();
       myLayerRef.kind = LayerKind.TEXT;
       myLayerRef.name = "Filename";
       var myTextRef = myLayerRef.textItem;
       // ADD FILE EXTENSION, change the n to y below
       var ShowExtension = "n";
       myTextRef.size = fontSize;
       myTextRef.font = fontName;
    // SET TEXT COLOR in RGB values
    var newColor = new SolidColor();
        newColor.rgb.red = 0;
        newColor.rgb.green = 0;
        newColor.rgb.blue = 0;
        myTextRef.color = newColor;
    // SET POSITION OF TEXT - PIXELS from left first, then from top.
    myTextRef.position = new Array( 30,110);
        // Set the Blend Mode of the Text Layer. The name must be in CAPITALS
        // ie change NORMAL to DIFFERENCE.
        myLayerRef.blendMode = BlendMode.NORMAL;
        // select opacity in percentage
        myLayerRef.opacity = 100;
        // The following code strips the extension and writes tha text layer.
        // fname = file name only
        //use extension if set
        if ( ShowExtension == "y" ) {
           fname = docRef.name;
         } else {
           di=(docRef.name).indexOf(".");
           fname = (docRef.name).substr(0, di);
         myTextRef.contents = fname;
         // docRef.flatten("n");
       } catch( e ) {
         // An error occurred. Restore ruler units, then propagate the error back
         // to the user
         preferences.rulerUnits = originalRulerUnits;
         throw e;
       // Everything went Ok. Restore ruler units
       preferences.rulerUnits = originalRulerUnits;
    }  else {
       alert( "You must have a document open to add the filename!" );

    I did some quick testing and here is what I have seen.
    I went into a cygwin shell and successfully did this:
    $ touch t\"est\'t.jpg
    $ ls t\"*
    t"est't.jpg
    This means that the underlying file system (NTFS) is able to correctly encode both the ' and " characters, at least as far as cygwin is concerned.
    However, from the Windows command line and Explorer point of view, the ' is OK but the " is not. The characters /\"*?<>:| can't be used in file names in Win. This means you can get the ' and . characters working but not the " character.
    From the js side, the code would look like:
    var x = "001    0003    1in = 660ft    CFL 154_074    01-01014   503-013.tif";
    var str = x.replace(/in/, '"').replace(/ft/, "'").replace(/_/, '.');
    alert(str);
    Which displays
    001    0003    1" = 660'    CFL 154.074    01-01014   503-013.tif
    The string stuff is easy, but while you can save a file with ' and . you can't use " via js. You can't even do it using the PS UI manually.
    I've tested and verified this. Let Mr. Mgr know that it is not possible to completely comply with his requests. Unless, of course, you upgrade to OS X : )
    -X

  • Illegal Characters Newly found in RH8 Project

    Hello,
    I need some help. I opened my RH7 project in RH8 for the first time, and received error messages complaining of file names having illegal characters and I am unable to import ANYTHING (Master pages, images, HTML files, etc.) because the items have illegal characters.
    Let me say that I've never had problems like this using RH7, in fact, I believe I initially created the project using RH6. In any case, I read a similar thread on this forum and decided that perhaps my Project Title and Project Name are invalid, since they both have apostrophes ("XX YY User's Guide"). So, I renamed them (using RH8, of course) to "XX YY User Guide" and now, things are VERY SCREWED UP. I've attached the dialog box that I now receive, it's cycling through every single topic in my project (~50 topics), and I'm getting tired of clicking OK.
    Is there any quick fix for this problem, or do I need to just start anew?
    Using: RH8, Windows XP.
    Images/Topics/Master Pages: Names have underscores, but I believe those are legal; never had an issue before migrating to RH8. No spaces or other illegal characters.
    Thank you...any help would be appreciated. I've never come across this problem before, even with the apostrophes in the Project Title/Name.

    Hi there
    In addition to what my esteemed colleague Peter offered, I'll add this.
    The image shows that you have an apostrophe present. Perhaps try renaming things so the apostrophe isn't present?
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Illegal characters in a Sharepoint list

    I'm trying to export an Access table to SP with 20 columns and 4,500 records and I keep geting this strange error "There was an error copying data to a Sharepoint list.  Cannot update.  Database or object is read-only. "  I can export to other formats OK, just not Sharepoint.
    According to a few posts, it appears my dilemma is related to illegal characters in the table itself.  Could the problem be something else?
    What characters are not allowed in a Sharepoint list? 
    Thanks.

    Thanks for reply.  I've tried moving to Sharepoint by plain old Export and the new "Publish to Access Services."  Get the error both ways.
    In an effort to isolate the problem, made a copy of my table and deleted all but the first ID column.  
    With only one column of the ID autonumber data, it exported successfully to Sharepoint.
    When I added a 2nd column titled "Prefix" and it worked.  Then I added 3rd column titled "LastName" containing various last names, the "read only" error occurs.
    I can provide a copy the 3 column table to anyone willing to take a look.  Something in the table causing trouble!
    Thanks

  • ADF Faces Components Demo - Illegal Characters error

    Hi ,
    I downloaded the ADF Faces Components Demo for version 11.1.2.3.0 from http://www.oracle.com/technetwork/developer-tools/adf/downloads/index.html . I tried following instructions :ADF Faces Components Demo Install Instructions
    This is getting downloaded as rcf-dvt-demo.zip. I renamed it to rcf-dvt-demo.war.
    Then I tried to create a project from this war... and got following error :
    The project file "C:\rcf-dvt-demo.war!\Project.jpr" is not valid. The file name may contain illegal characters, it may be too long, or permissions for this file or one of it's parent directories may be restricted.
    Please help . Am i downloading from correct location and following the correct instructions.
    Thanks,
    Rajdeep

    Good Catch Timo ... Lot of thanks.
    Still I will put down the silly mistake of overlooking the wizard.
    I was doing the correct thing - "create a new application and inside this application workspace you add a new 'project from war'." But mistake was .. First step of wizard it is project name and path,, and then second step is war location... and in hurry I was giving the project name and war location in first step.
    Thanks,
    Rajdeep

  • Filelist illegal characters

    using LabVIEW 7.1 I want to list and read several files in a certain directory.
    I want to recursively search and read these files starting  from a root-directory,
    however the directory-path at some point contains illegal characters, probably because the data is originating from Japan.
    Now the recursive filelisting is not able to look beyond that part of the directory.
    Windows displays these chars as 3 square's, and Labview displays them as 3 question marks, and generates a error.
    I could ofcourse manually rename the illegal chars, but since intent to analyse lots of these files, doing a manual rename would be too much work.
    Does anyone know a solution for this problem ?? 
    Thanks in advance ,
    René

    ramekers wrote:
    I tried the recursive file-lister of LabVIEW 8.5 (on windows2000) and this gave me the same errors,
    not being able to read past these characters.
    Now I am trying to locate a "freeware" program to remove these characters recursively from the names,
    leaving the rest intact. Couldn't find anything yet ...
    René
    You could experiment with the command line in Windows. Not sure if the command line will support such file names at all but if it goes bad there, then you are indeed in deep trouble. Try to start a command line and do a dir command in such a directory. Then try to do a rename on such a file. It might work.
    I doubt there is a GUI application that does specifically do this task, so you may have to resort to a batch file script doing it on the command line if the above experiment shows you that this is possible at all.
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

Maybe you are looking for

  • IPhoto PIctures No Longer Sorted By Event

    My AppleTV used to let me view Photos and select from 20 different sub-folders to play a particular event of pictures. (For example, in Photos, I'd see a sub-folder for 2005 Vacation which I could click on and view a slide show of just those pictures

  • L75-B7270; Pre-installed 8.1 not recognizing 2nd monitor

    Laptop:  L75-B7270 OS:  Windows 8.1 (pre-installed) I am trying to use my TV as a second monitor using an HDMI cord.  No matter what I do, my laptop does not recognize the 2nd monitor.  I've uninstalled and reinstalled the display drivers so many tim

  • System freeze when trying to install 10.2 (Jaguar) on a biege G3

    I'm trying to install 10.2 on a partition on my G3 hard drive. The machine specs are: 400Mhz G3 384 Meg RAM OS9.2.2 ROM Id $77D.45F2 When I try to restart with the install CD, the machine freezes completely. The only way I've been able to recover is

  • Getting MySQL to work on Mac OS X Server v10.4

    Hi, I am having trouble with running MySQL 4 on Mac OS X Server 10.4. (While the other application I will be installing works with both versions 4 and 5 of MySQL, I just thought it might be easier to get 4 working since it is the default version that

  • Problem every time i want to drag and drop some columns

    I was working in some columns , then in column properties i uncheck box : Wrap Text from TAB : Styles then i save as system-wide default as data type ! i got this message error : The current xml is invalid with the following errors: Bad xml instance!