Use special characters in a DTD

Hello,
I created a DTD amd want to use some special characters in this DTD. E.G. I want to define:
<!ATTLIST element value (val1|val 2|<val3>|%val4) #REQUIRED>
I tried the following but the parser does not accept without errors:
<!ATTLIST element value (val1|val&#xxx;2|&#yyy;val3&#zzz;....
Of course I replaced the xxx, yyy and zzz with the unicode number of the special sign.
So what do I do wrong? Or is it in general not possible to use special characters ?
Thank you very much,
Findus

Hi,
one thing I did which does not work is:
<!ATTLIST element values (&|<|val1) #REQUIRED>
The XML parser (XMLSpy) alway requires me for entering a '%' which is as far as I know only used for parameter entities. But & and the rest are general entities, aren't they ??
I played arround a little bit and found a solution which still does not completly solve my problem: In order to use special characters I declare parameter entities:
<!ENTITY percent "&#37;">
<!ENTITY lower "&#60;">
<!ATTLIST element values (%lower;|val1|%percent;) #REQUIRED>
This works so far so good but if I want to embed the special characters (which is what I need to do!) the parser still gives me errors:
<!ATTLIST element values (text%lower;moreText|val1|%percent;) #REQUIRED>
I would be really glad if anybody could test this on his own and post me about the results. For any other kind of avice I'm very thankful, too.
Thank you very much,
Findus

Similar Messages

  • Using special characters (Spanish characters) in Activities name

    Hi everyone,
    ?:| Does anyone knows if I need to do any extra configuration in my Operating System/Data Base if I'm using special characters (accents) in activities/transitions name. Is there any problem using these type of characters?
    Thanks a lot.
    Edited by varriaga at 01/04/2007 2:17 PM

    in ALBPM 5.7 you don't need any specific setup to use spanish characters, since we store all information as NVARCHARS.
    In Studio, we store projects files in UTF-8, so no problem either.
    MAriano
    PS: you are just asking or you do have a problem? if you do, contact support and describe your problem.
    MAriano Benitez
    AquaLogic BPM 5.7 SP1 is now available!

  • How to use Special Characters in CONCAT function or another form with Xquer

    Hello everyone
    I'm using PS3 OEPE within message flow (proxy)and I'm using Xquery.
    I'm using the CONCAT function, but this does not allow me to concatenate special characters not allowed, for example:
    I want to concatenate these strings:
    String1 = “&amp;lt;get-person&amp;gt;&amp;lt;id-person&amp;;gt;”
    String2 = “123”
    String3 = “&amp;lt;/id-person&amp;;gt; &amp;lt;/get-person&amp;gt;”
    I want to represent characters regex. It means no XML characters
    Someone knows some way, any function that allows me to concatenate in OSB these values with Xquery?
    Edited by: chromosoma on Sep 5, 2012 5:59 PM

    Hi,
    It seems to me you're doing things in the most complicated way possible...
    Firstly, you should use codepoints-to-string not the reverse... Secondly, the function work with decimals, not hexa
    http://www.xqueryfunctions.com/xq/fn_codepoints-to-string.html
    http://www.xqueryfunctions.com/xq/fn_string-to-codepoints.html
    This works...
    concat(codepoints-to-string(38),'lt',codepoints-to-string(59),'get-person')But this also works... Note that I've inserted a space between the &amp; and the lt so the forum formatting can show it...
    let
    $String1 := "& lt;get-person& gt;& lt;id-person& gt;",
    $String2 := "123",
    $String3 := "& lt;/id-person& gt;& lt;/get-person& gt;"
    return
         concat($String1,$String2,$String3)And, finally this also works... So what's the reason for escaping &lt; and &gt; with &amp;lt and &amp;gt; and why codepoints?
    let
    $String1 := "<get-person><id-person>",
    $String2 := "123",
    $String3 := "</id-person></get-person>"
    return
         concat($String1,$String2,$String3)Cheers,
    Vlad

  • How to use special characters in Report Builder

    Hi everyone,
    I wonder if you guys can help me. I'm trying to change our Invoice hearders from English to Portuguese. Eg, I've changed this English heading
    ("FOR ACCOUNT QUERIES CONTACT") to this Portuguese heading ("PARA CONSULTAS DE CONTA CONTACTE"). So when I'm done, my entire invoice will be in Portuguese. This works fine, until I get special characters in some of the Portuguese translations. I can copy and paste the translations with special characters into Report Builder. But when I print the invoice in Oracle Apps (with a PDF output), the special characters get replaced with a "?".
    Here's an example:
    < "Line No" should read "Linha nº" but it prints out as "Linha n?" > Does anybother know how I can resolve this? I'm using Report Builder: 10.1.2.3.0 on Oracle Apps: 11.5.10.2 and RDBMS : 10.2.0.4.0
    Thank you in advance

    Hi,
    You need to have Portuguese font installed on your machine, if you are running the report from your machine or else if you are running the same from report server then the font has to be there on the server font dir.

  • Problems with using special characters in Interactive Report Search

    Hi!
    I am currently developing an Application on Application Express 3.1.2.00.02 including a page with an Interactive Report, facing the problem that I cannot use special german characters in the Searchbar.
    So if i try to find a name like 'Schröder' the created Filter looks like this 'Schröder' and i won't get any valid search results. By the way the rest of the application supports these special characters like using them in Buttons or any other Page elements.
    Does anyone have a clue how to fix this problem, because it's driving me nuts ;)
    Thanks in advance
    Philipp
    Edited by: philipp_m on 10.06.2009 11:15

    Does noybody have a clue how to solve this problem. I tried to find out where the Problem occures. The Ajax Request looks like this
    f01     contains
    f01     Schröder
    f01     15
    p_flow_id     100
    p_flow_step_id     50
    p_instance     3176950818119673
    p_request     APXWGT
    p_widget_action     QUICK_FILTER
    p_widget_action_mod     ADD
    p_widget_mod     ACTION
    p_widget_name     worksheet
    p_widget_num_return     15
    x01     14175446766823030
    x02     14176526259823035
    So I guess it has to be inside the Javascript file (apex_ns_3_1.js). I hope someone can help me.
    Bye
    Philipp

  • Prevent using special characters in file and folder names?

    I've recently begun adding windows clients to my network. In doing so, I've found that on my file shares from OS X server, the windows clients are unable to see files and folders which have names containing special characters such as / ? < > \ : * | ”
    Unfortunately my accounting department has been creating files with these characters in their names for several years. I would like to find if there is a way to prevent them from using a defined set of characters in the file and folder names to prevent them from "accidentally" doing so in the future.
    I've found that by turning off streams support on SMB in OS X server, that my windows clients can at least see that a file or folder should exist, albeit with a corrupted file name. Removing the special characters from these names allows the proper name to become visible and the file accessible.
    Any info would be greatly appreciated.

    (_seb_) wrote:
    > Gary White wrote:
    >> On Sun, 19 Nov 2006 19:15:04 +0100, "(_seb_)"
    <[email protected]> wrote:
    >>
    >>> "ça alors: it's a déjà-vu"
    >>>
    >>> How can I encode this so it's valid as a
    directory name, yet can be
    >>> displayed as intended when the name is output to
    the page.
    >>> urlencode() does not do the job, neither does
    htmlentities()...
    >>
    >>
    >> What's wrong with:
    >>
    >> $l="ça alors: it's a déjà-vu";
    >> print urlencode($l)."<br>\n";
    >> print htmlspecialchars($l);
    >>
    >> Gary
    >
    >
    > I know that, but what is the name of the directory? It
    has to be a real
    > directory name, not a string stored somewhere.
    >
    > What's a valid encoding for a directory named "ça
    alors: it's a
    > déjà-vu"? I can call a folder like this on my
    Mac, but it won't work on
    > any server...
    >
    >
    >
    PS: basically it's not a url encoding issue.
    I can url encode "ça alors: it's a déjà-vu",
    and pass it in a url query string. But my issue is not
    with an url query string, it's with an actual URL, that is,
    the actual name of the directory. It
    can't be "ça alors: it's a déjà-vu". But I
    want to allow the user to name their directory like that
    if they want. So I need a way to encode this into characters
    that can be used for an actual
    directory on the server.
    seb ( [email protected])
    http://webtrans1.com | high-end web
    design
    Downloads: Slide Show, Directory Browser, Mailing List

  • Using Special characters in Insert statement

    Hi All,
    I want to insert special characters in my table. Here is my query
    insert into COM_TAB(TAB_COMMENTS) VALUES('ADAM'S FARM & FARM-GANG APPLE GOOGLE') .Please help.Also tel me is there any method to handle special characters like using ascci values for it

    Put the & and ' as below
    create table com_tab(tab_comments varchar2(128));
    insert into COM_TAB(TAB_COMMENTS) VALUES('ADAM''S FARM ' || '&' || ' FARM-GANG APPLE GOOGLE')
    select * from com_tab
    TAB_COMMENTS                                                                                                                    
    ADAM'S FARM & FARM-GANG APPLE GOOGLE    

  • Why can't I use special characters in my password? This isn't 1995 anymore where a lot of people don't have QWERTY keyboards.

    Why does your site not allow the use of special characters in passwords? Do you not want your customers to be as secure as possible?
    As a network security admin, limiting passwords to prohibit special characters is an extremely poor security practice.
    Telling me that my security as a customer is important, then tell me that your own system limits my ability to keep my account as secure as I would like seems quite backwards. I understand the archaic reasoning was that not all devices have a QWERTY keyboard, this logic is flawed and is no longer necessary.

    Hi, sorry to hear that you are experiencing these problems, but sometimes a new machine (be it Apple, Dell, whatever) can be defective right out the box - its not unheard of.
    If your machine came with defective hardware and is still under warranty (seems to be the case here) then you have nothing to lose taking it back to where you bought it and, if there really is defective hardware present I am sure they'll rectify the problem.
    A small note: these problems are not manufacturer-specific - its pointless blaming the manufacturer as I can assure you this happens with ALL brands. Apple supplies quality hardware and software - I know of a user who has had a machine switched on since 1987 without problems

  • HowTo: Using special characters in SQL passthrough stored procedure parameters?

    Hi all,
    I am creating a Visual FoxPro 5.0a application, where I am trying to call a stored procedure in my Oracle database with the following SQLEXEC command (SQLEXEC is the Foxpro function to send sql statements to the ODBC driver):
    lcSQL = "{Call Insert_FRB.NewItemPage('KABO)n$i,30000000000', '184927', '184927', 'MAIR2001011216151314', 'MAIR')}"
    /* Sorry the above command should of course not break accross pages*/
    lnSuccess = sqlexec(1,lcSQL)
    With the parameters given, I get the ODBC error: "Connectivity error: [Oracle][ODBC Oracle Driver]Syntax Error."
    I get the same error, when using the Oracle ODBC 32bit Test utility.
    The call works just fine, if I replace the "$" in the first parameter 'KABO)n$i,30000000000' with a "normal" character, e.g. 'KABO)nAi,30000000000'. Oracle handles the $-character just fine, the stored procedure is working properly when called directly in SQLPLUS8.
    I am using the Oracle ODBC driver sqo32_73.dll Version2.00.03.01.
    Questions:
    How do I have to submit the "$" to the ODBC driver, in order to be passed through to Oracle unchallenged?
    Does anybody know of other special characters, which are not accepted by the ODBC-drivers for Oracle?
    Thanks to any hints,
    Peter

    You could try downloading the Oracle 8.1.7 client and the latest
    Oracle8 ODBC driver, install them on your machine, and verify
    that the failure goes away. That's obviously the acid test.
    I can tell you that when I worked in the ODBC driver group we
    did identify and fix some bugs where our parser wasn't skipping
    string literals. If this particular bug wasn't fixed earlier,
    it almost certainly was then (I'm guessing that work was done 12-
    18 months ago).
    Justin

  • 802.1X PEAP fails when using special characters in login

    I am using MS AD & NPS for 802.1X Enterprise authentication with PEAP (no client certificate - MS-CHAPv2 user credentials for login). This works fine for iOS devices on 8.1 (iPhone 5 and iPad mini) and 6.1.6 (iPhone 3GS) when the user has standard "English" ASCII characters in the username and password.
    However, when I introduce Unicode special accented characters in the login name or password such as French é/ù or Spanish ñ then after accepting the server cert authentication fails with "Incorrect username or password for <WLAN name>". Windows 7 and CentOS 6.5 laptops have no problem authenticating to the same setup with either "English" credentials or ones with special accented characters. I also tried an old iPod touch on ancient software version and that fails, so its not something recently introduced.
    I tried using a different access point (TP-Link instead of Ruckus) and had exactly the same issue, so highly unlikely this is an AP issue.
    Then I setup FreeRadius with and see exactly the same issue, so its highly unlikely to be a MS AD/NPS issue.
    When comparing a working/failed authentication Wireshark packet capture on the NPS server, I see the failed attempt is missing the last 4 packets in the authentication exchange. The last packet sent is an Access-Challenge from the NPS server and no response from the iOS device, so the NPS server never even sends an Access-Reject. The iOS device appears to have decided it can't resolve the special characters and terminates the authentication attempt.
    To me this seems to be an Apple iOS software deficiency when using Unicode special characters in the username or password for 801.2X authentication?

    Enterprise support:
    Call enterprise support  (866) 752-7753  to create  a case ID number
    Get an account at
    http://developer.apple.com/  then submit a bug report to http://bugreporter.apple.com/
    Once on the bugreporter page,
       -- click on New icon
       -- See if you need to attach a log file or log files, clicking on Show instructions for gathering logs.  Scroll down to find the area or application that matches the problem.
       -- etc.
    Developers:
    "Submitting Bugs and Feedback
    Your feedback goes a long way towards making our products even better. With Apple Bug Reporter, you can submit bug reports or request enhancements to APIs and developer tools."
    https://developer.apple.com/bug-reporting/

  • Using special characters

    How do you enter special characters (such as curved quotes) in a headline that is in caps? I have tried using the formula "alt +) or alt + Shift + ) and get no result. If I do the same in a paragraph of regular text, it works. Thanks.

    On the Mac you can get the curled quotes via Alt and one or two other keys, depending on your language.
    You can access a preview of the keyboard via system preferences >  keyboard, input sources, activate to show in the menu,
    It is faster to get used to write with alt and shift for extended characters on the mac than using the glyph panel.
    Here is the German (Germany and Austria) keyboard on the Mac:
    With other languages you have a different layout, even with German (Swiss) it would be different, EN-US is different than EN-UK.

  • Using special characters in photoshop

    I would like to use the copyright character, which I can access through >edit ,then  >special characters. The problem is how do I use it in photoshop? I have dragged it on the desktop, but photoshop does not read the file it is saved in. The character won't open in preview, so I can not format it. The photoshop shortcut key- option G does not work. Is there another way?

    If you open a text field in Photoshop, you should be able to double-click on the character in Character Viewer and it should be input into the field.

  • SecurityError: Error #2048 when using special characters in request url

    Hi all,
    I'm facing a really strange problem with requesting address data from a in-house developed address webservice that can be accessed using a HTTPS connection.
    The problem is that I get the following error when a request has been made with special characters in the url:
    SecurityError: Error #2048: Security sandbox violation: http://www.foo.com/myapp.swf cannot load data from
    https://www.bar.com/myservice.svc/Aleja Legionów ul., BYTOM.
    The url is encoded using encodeURIComponent. Fiddler show's a correctly encoded url:
    https://www.bar.com/myservice.svc/address/Aleja%20Legion%C3%B3w%20ul.%2C%20BYTOM
    The server send a normal response back.
    The weird thing is that this only happens on FireFox with special characters in the url. With normal characters, it works fine.
    On IE everything works fine..
    crossdomain.xml of the www.foo.com:
    <cross-domain-policy>
    <site-control permitted-cross-domain-policies="all"/>
    <allow-http-request-headers-from domain="*" headers="*" secure="false"/>
    <allow-access-from domain="*" headers="*" secure="false"/>
    </cross-domain-policy>
    Any help is appreciated.
    Best regards,
    Sjoerd Brandsma

    You could try downloading the Oracle 8.1.7 client and the latest
    Oracle8 ODBC driver, install them on your machine, and verify
    that the failure goes away. That's obviously the acid test.
    I can tell you that when I worked in the ODBC driver group we
    did identify and fix some bugs where our parser wasn't skipping
    string literals. If this particular bug wasn't fixed earlier,
    it almost certainly was then (I'm guessing that work was done 12-
    18 months ago).
    Justin

  • Using special characters in PageMaker

    I've been trying to insert some special characters in PageMaker, like i with an umlaut, s with a cedille underneath and c with an accent on top, but it doesn't accept them. I've tried using the keypad, cutting and pasting from Word, but it doesn't work. Does anyone know how to do this?
    Thanks!

    For any font, open the file "Character Set" (or maybe "CharSet") that you should have installed in a subdirectory along with the software. Select all text and plug in your font, and you'll see all characters and the keypad combinations that will yield them.

  • How to define and use special characters

    I need to define some special characters (such as an up-arrow and a down-arrow). I need to add these characters to Strings along with "normal" ASCII characters, and finally display the Strings with graphics.drawString().
    Can anyone get me started or tell me where to look? I looked at the archive but apparently I'm not using the correct keywords.
    Thanks in advance, Rick

    public void paint(Graphics g) {
            super.paint(g);
            g.drawString("up arrow: \u2191 down arrow: \u2193", 100, 100);
        }Works for me.
    See www.unicode.org for code charts.

Maybe you are looking for

  • Need help in automating Report &calcs

    Hi all, What is the Maxl command used to run a Report script and the extracted data saved to a txt file.So that I want to load that data into other cube.I need to change the date in the Report script before running it,so where to declare the Sub var.

  • Multiple screens not working correctly in Leopard!!!!!!!!!!!!

    I have used my Apple laptop with an external screen for years through multiple versions of MacOS. Leopard is the first to really frustrate me! When I disconnect my external screen (which is my primary screen when attached) all the windows migrate to

  • My mac is running at 175 Fahrenheit? Why so hot?

    My mac is running at 175 ferhenheit? Its running really slow and I have to turnn it off frequently to let it cool down. Any solutions out there?

  • WPA2 on 1220-B with MS IAS (2003 server)

    All - I have a Win2003 server running IAS. I have a 1220-B AP running 12.3(8)JA2. I am trying to create two VLANs/SSIDs; one for guest mode - fully open without encryption, and one for secure mode WPA2. The two segments will be firewalled using an AS

  • How do i fix the Error 26073 when i try to creater an installer for my applicati

    When i try to create a Labview V6.1 installer for my application i get the error Error26073 occured at Build application.vi>>Dist call Create Installer.vi>>Win Install Create.vi>>Win Install Add files.vi>>MSI DK Add shortcut.vi the possible reason li