Support for "escape-uri-attributes" in xsl:output ???

Does XSLT processor supports
new attribute "escape-uri-attributes" for
xsl:output element?

This was tested on 9.2.0.1 Beta (D) XDK for Java
For an example _encXSQL.xsql?param=PŠPHFŽŠĐŽČĆ
returns some garbage in href link, but the valu of the
param is correct shown as text in html.
Here are the code for XSQL page (_encXSQL.xsql)
<?xml version="1.0" encoding="windows-1250"?>
<?xml-stylesheet type="text/xsl" href="_encXSL.xsl" ?>
<page
param = ""
xmlns:xsql="urn:oracle-xsql">
<xsql:include-param name="param"/>
</page>
And the code for XSL (_encXSL.xsl)
<?xml version="1.0" encoding="windows-1250"?>
<xsl:stylesheet
version="1.0"
xmlns:xsl=" "
target="_new">http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" ident="no" encoding="windows-1250"/>
<!-- Root template -->
<xsl:template match="/">
<html>
<head></head>
<body>
<a href="_encTestXSQL.xsql?param={page/param}">
Param:
<xsl:value-of select="page/param"/>
</a>
</body>
</html>
</xsl:template>
</xsl:stylesheet>

Similar Messages

  • Adobe Reader v10.4.4 support for PDF with attributes

    Hi there,
    I recently downloaded Adobe Reader v10.4.4 for my iPhone. I was just wondering if it supports PDFs with attributes?
    To test I created two PDFs using GIS application called MapInfo Professional:
    1. PDF without attributes - this one was able to open succesfully
    2. PDF with attributes - this one could not open and threw an error "Not a valid PDF document"
    Any help appreciated.
    Thanks,
    Dave

    Hi Steve,
    Thanks for your speedy reply. Yes, I forgot to mention, these PDFs can open up in my desktop version of Adobe Reader (v8) for Windows.
    PDF with attributes means that there is records (attribute data) contained in the PDF which is being saved into the PDF when it was created using the GIS application. For example if looking at postal area: PDF map, ID number, place name, population, area (sq m) values etc.
    The specific tool/function which allows these attribute values to be exposed is called the 'Object Data' tool (under Tools > Object Data in the desktop version)
    (I have attached a screenshot showing these attributes in the desktop version so you may get a better understanding hopefully! Pls see link below)
    http://i296.photobucket.com/albums/mm199/dkny1315/ScreenHunter_44Feb151332_zpsd515b1af.gif
    If you need any further info or details, please let me know
    Thanks,
    Dave

  • LDIF Support for colons in attribute values?

    This is an invalid LDIF entry:
    dn: cn=APPLICATION,ou=DBOLS_Profiles,ou=lookup,o=systems,dc=xyx,dc=abc
    objectClass:olsProfiles
    objectClass: top
    olspolicyname: MAIN
    olsmaxreadlabel: abc:def/jkl:mno
    because the olsmaxreadlabel attribute's value contains colon characters. Is there a way around this? A way to be able to store colons in an attribute value?
    Thank you

    LDIF is defined in rfc2849 and to me it looks like your example string is a legal LDIF entry (http://www.ietf.org/rfc/rfc2849.txt)
    That means that the problem is actually your LDIF parser so I would recommend getting another parser or writing your own parser.
    I have example code for LDIF parsing as well as creating LDAP object using JNDI that I would be happy to share. Contact me through LinkedIn if you want the code packages.
    Best regards
    /Martin

  • Is there any planned support for the "do not back up" extended attribute for iOS

    Starting in iOS 5.0.1, Apple has introduced a new "do not back up" extended file attribute that will allow an app to store downloaded data into the application folder.  Is there any planned support for setting this attribute within an AIR application or is there currently a way to set this attribute using the existing AIR SDK.

    Yes, this is exactly what I'm wondering too. Without it, we can't build any apps that download content without the risk of the content being deleted.
    Here's the background before Apple introduced the new "do not back up" attribute:
    http://www.marco.org/2011/10/13/ios5-caches-cleaning
    Fortunately, Apple addressed it after that blog post in 5.0.1. See bullet #4 here, quoted below
    https://developer.apple.com/icloud/documentation/data-storage/
    Q:  My app has a number of files that need to be stored on the device permanently for my app to function properly offline. However, those files do not contain user data and don't need to be backed up. How should I store those files in iOS 5?
    A: Starting in iOS 5.0.1 a new "do not back up" file attribute has been introduced allowing developers to clearly specify which files should be backed up, which files are local caches only and subject to purge, and which files should not be backed up but should also not be purged. In addition, setting this attribute on a folder will prevent the folder and all of its contents from being backed up.
    Important: The new "do not back up" attribute will only be used by iOS 5.0.1 or later. On iOS 5.0 and earlier, applications will need to store their data in <Application_Home>/Library/Caches to avoid having it backed up. Since this attribute is ignored on older systems, you will need to insure your app complies with the iOS Data Storage Guidelines on all versions of iOS that your application supports.
    Now we just need Adobe to support the attribute in the AIR SDK. What do you say Adobe?

  • JSTL Expression Support For All Attributes

    There are mentions of JSTL expression support for the
    modelReference attribute within the specification (although I have found problems in the EA3 in this regard), but
    but I did not find any mention of supporting the same for all
    attributes. To me, this seems very important, especially for
    attributes like "onClick" where I might want to do something special:
    <c:foreach ...
    <h:graphic_image modelReference="model.myImage" onClick="onDelete({status.index})"/>
    </c:foreach>
    In the case above, this would allow me to call a single javascript function that triggers a delete action based on the current index within a list based view.
    There are many cases that I can think of that this would be incredibly useful.

    maybe you have forgotten the $
    onClick="onDelete(${status.index})"
    or I've misunderstood something...

  • KDC has no support for encryption type

    Hi,
    I hope not too much people are not reading this post because of the very common error message. But I'm really somewhat confused:
    For testing Kerberos 5 SSO I set up a little domain controller running Windows 2003 Server and a client in the domain running Windows XP. In the active directory I created a service account with the logon test-service and a user account test-user. The switch "Use DES encryption types for this account" is set for both accounts and I reseted the passwords after setting the switch. Additionally I added a service principal name test/test.krbtest.local to the service account.
    On the client machine I execute a very simple JAVA client program that tries to obtain a service ticket for the service test/test.krbtest.local. If I configure the client to prompt for a password, the service ticket is obtained without a problem using etype 3 (sun.security.krb5.internal.crypto.DesCbcMd5EType). But when trying to read the existing TGT from the native windows cache the client exits with:
    KDC has no support for encryption type (14)The debug output tells the following:
    >>> Obtained TGT from LSA: Credentials:
    [email protected]
    server=krbtgt/[email protected]
    authTime=20070413112833Z
    startTime=20070413112833Z
    endTime=20070413212833Z
    renewTill=20070420112833Z
    flags: FORWARDABLE;RENEWABLE;INITIAL;PRE-AUTHENT
    EType (int): 0
    Principal is [email protected]
    Commit Succeeded
    Found ticket for [email protected] to go to krbtgt/[email protected] expiring on Fri Apr 13 23:28:33 CEST 2007
    Entered Krb5Context.initSecContext with state=STATE_NEW
    Found ticket for [email protected] to go to krbtgt/[email protected] expiring on Fri Apr 13 23:28:33 CEST 2007
    Service ticket not found in the subject
    Credentials acquireServiceCreds: same realmUsing builtin default etypes for default_tgs_enctypes
    default etypes for default_tgs_enctypes: 3 1 23 16 17.
    CksumType: sun.security.krb5.internal.crypto.RsaMd5CksumType
    EType: sun.security.krb5.internal.crypto.NullEType...Note that it says "Etype (int): 0" which I think is no valid encryption type at all. klist (from the windows resource kit) tells me that my tickets look like:
    Server: krbtgt/[email protected]
        KerbTicket Encryption Type: RSADSI RC4-HMAC(NT)
        End Time: 4/13/2007 23:28:33
        Renew Time: 4/20/2007 13:28:33
    ...But as mentioned above I set the option "Use DES encryption types for this account" for both the user and service account. Am I doing something wrong here??
    Additionally I thought JAVA 1.5.11 would support RC4-HMAC, is that wrong?
    Even more confusing:
    If I remove the "Use DES encryption types for this account" switch for the two accounts and configure my JAVA client program to prompt for a password, a ticket is obtained using the RC4-HMAC encryption type 23 (sun.security.krb5.internal.crypto.ArcFourHmacEType). But using the ticket from the cache again does not work.
    I'd appreciate any comments on that since I'm totally confused by now and have no idea on how to get this SSO thing working correctly in JAVA.
    Cheers
    P.S.:
    I just wanted to mention that adding
    default_tkt_enctypes = rc4-hmac
    default_tgs_enctypes = rc4-hmacto my krb5.ini has no effect on the desribed behaviour
    Message was edited by:
    sherazade

    Ok,
    perhaps I should have looked around the forum a little bit more in-depth...
    Setting the AllowTGTSessionKey registry key to 1 solves this issue...
    thanks

  • Xsl output attributes for cdata-section-elements and doctype-system

    I am using an xsl file to transform one xml document to another xml document. I want to use the xsl:output Element to do two things:
    1.Generate CDATA sections for the text contained in an xml element,"Description"
    2. Add the line "<!DOCTYPE PartInformation SYSTEM "part.dtd">
    I am using the following code in the xsl file to do these two things, but it does not seem to be doing anything.
    <xsl:output cdata-section-elements="Description" doctype-system="part.dtd"/>
    Does anybody have any idea what's happening?
    Thanks
    Kishore

    Would you specify the XDK version and supply a simple sample including XML and XSL file?

  • Xsl always escaping in attributes

    I am using latest XDK Beta on Solaris.
    Specifically, the xsql servelet.
    The servelet is always escaping an apostrophe (as &apos;) in xml attributes. It is required to escape < or >, but should allow '(in a "quoted" string") or "(in a 'quoted' string).
    At the same time, it escapes < and > in CDATA nodes, although not I believe ' or " in CDATA.
    Sample starting xml:
    <text name=" 'foo' ">foo</text>
    <![CDATA[ <foo> ]]>
    Will be translated to:
    <text name=" &apos;foo&apos; ">foo</text>
    <![CDATA[ <foo> ]]>
    I found this problem when trying to output html with embedded javascript activities. Which requires literal strings be quoted when referenced.
    Any help much appreciated. Thanks in advance.
    Gene Smith

    Hi,
    < and > shouldn't be (and aren't) escaped by the processor for the html output method if they are contained in a script or style element. You can either use a CDATA section as you described, or escape < and > in your stylesheet or source document using &;lt; and &;gt;.
    For example,
    escaping1.xsl:
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
    <xsl:output method="html" />
    <xsl:template match="somefile">
    <html>
    <head>
    <script type="text/javascript">
    function lessThanTwo(number) {
    if (number &;lt; 2) return true;
    return false;
    </script>
    <script type="text/javascript">
    <![CDATA[
    function moreThanFive(number) {
    if (number > 5) return true;
    return false;
    ]]>
    </script>
    <script type="text/javascript">
    <xsl:value-of select="myscript" />
    </script>
    </head>
    <body>
    </body>
    </html>
    </xsl:template>
    </xsl:stylesheet>testescaping.xml:
    <?xml version="1.0"?>
    <?xml-stylesheet type="text/xsl" href="escaping1.xsl" ?>
    <somefile>
    <myscript>
    function lessThanTwenty(number)
    if (number &;lt; 20) return true;
    return false;
    </myscript>
    </somefile>results in:
    output.html:
    <html>
    <head>
    <META http-equiv="Content-Type" content="text/html">
    <script type="text/javascript">
    function lessThanTwo(number) {
    if (number < 2) return true;
    return false;
    </script>
    <script type="text/javascript">
    function moreThanFive(number) {
    if (number > 5) return true;
    return false;
    </script>
    <script type="text/javascript">
    function lessThanTwenty(number)
    if (number < 20) return true;
    return false;
    </script>
    </head>
    <body></body>
    </html>null

  • xsl:output method="html"/ - supported?

    Is the otutput method "html" supported in
    the recent version of the XML/XSL parser?
    I was trying to use the <BR> tag with the
    <xsl utput method="xml"/> declaration but
    I got an XSLException error message
    indicating a not well-formed XML document.
    Then I tried the following output method
    declaration: <xsl utput method="html"/>
    but I got the same result?!
    Here's a simple XSL stylesheet I was using:
    <?xml version="1.0"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl utput method="html"/>
    <xsl:template match="/">
    <HTML>
    <HEAD></HEAD>
    <BODY>
    <P>
    Blah blah<BR>
    More blah blah<BR>
    </P>
    </BODY>
    </HTML>
    </xsl:template>
    My question is: "How do I use a not
    well-formed tags (like <IMG>, <BR>, etc.)
    in a XSL stylesheet?"
    Thank you very much in advance!
    Cheers.
    Georgi

    Sorry for jumping in on this thread, but I have a question regarding you reply. I have an XSL stylesheet that preforms XML to HTML conversion. Everything works correctly with the exception of those HTML tags that are not weel formed. Using your example if I have something like:
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="html"/>
    <input type="text" name="{NAME}" size="{DISPLAY_LENGTH}" maxlength="{LENGTH}"></input>
    </xsl:stylesheet>
    It would render HTML in the format of
    <HTML>
    <input type="text" name="in1" size="10" maxlength="20"/>
    </HTML>
    While IE can handle this Netscape can not. Is there anyway to generate completely cross browser complient HTML with XSL?
    Thanks!

  • XSLProcessor support of xsl:output method="text"?

    I'm having trouble getting my processor to format the output as a big string. Actually, the output is html, but because of some browser bugs I want to avoid linebreaks between tags. Specifically table cell tags <td> and the content of the cell.
    Right now, even though I write my xsl like this:
    <table><tr><td>content</td></tr></table>
    the processor formats the output like this:
    <table>
    <tr>
    <td>content</td>
    </tr>
    </table>
    Is there any way to avoid these line breaks and indentation?
    When I add the lines
    <xsl:output method="text"/>
    <xsl:output indent="no"/>
    to my xsl document, nothing happens.
    Thanks in advance.
    null

    Oh. One more thing. I tried parsing that very simple xml file using the xsl sheet you suggested with the class XSLSample that downloads with the parser. Same problem. Any ideas?
    xml file:
    <root>
    <foo>test text</foo>
    </root>
    xsl file:
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
    <xsl:output method="html" indent="no"/>
    <xsl:template match="/">
    <html>
    <body>
    <table>
    <tr>
    <td><xsl:value-of select="foo"/></td>
    <td><xsl:text>SomeText</xsl:text></td>
    </tr>
    </table>
    </body>
    </html>
    </xsl:template>
    </xsl:stylesheet>
    output:
    <root>
    <html>
    <body>
    <table>
    <tr>
    <td/>
    <td>SomeText</td>
    </tr>
    </table>
    </body>
    </html>
    </root>
    null

  • [svn:fx-trunk] 6417: * Added support for Vector's "fixed" boolean attribute and enabled

    Revision: 6417
    Author:   [email protected]
    Date:     2009-04-30 07:15:49 -0700 (Thu, 30 Apr 2009)
    Log Message:

    Remember that Arch Arm is a different distribution, but we try to bend the rules and provide limited support for them.  This may or may not be unique to Arch Arm, so you might try asking on their forums as well.

  • MII 12.1 Support for plain text (text/plain) output

    I'm hoping someone can guide me on how to output plain text from an MII 12.1 transaction
    I have three MII systems to test against: MII 11.5.6 b73, MII 12.0.6 build 15, and MII 12.1.5 build 85
    Here's the test files I used on all three systems...
    1) Create a new MII transaction
    2) Create a new Transaction parameter called "Output" of type string and set the value to "Hello World"
    3) Save the transaction anywhere as "HelloWorld"
    4) Create a new Xacute Query and point it to the "HellowWorld" transaction
    5) Map the output parameter to "Output"
    6) Save the Xacute Query as "HelloWorldQuery"
    Scenario - Execute an MII Transaction via URL
    1)Open a new browser window
    2) Type in the following URL (replacing the bracketed params):
    http://[[SERVER]]:[[PORT]]/XMII/Runner?Transaction=[[PATH_TO_HELLOWORLD]]&OutputParameter=Output&Content-Type=text/plain (12.x,12.1)
    or
    http://[[SERVER]]/Lighthammer/Runner.jsp?Transaction=[[PATH_TO_HELLOWORLD]]&OutputParameter=Output&Content-Type=text/plain (11.5)
    3) Both MII 11.5 and MII 12.0 will output the "Hello World" string (no XML). MII 12.1 will return the Output in XML format (text/xml).
    Thanks in advance!

    Create transaction with a SAP MII Document output, where you have inserted the text as a SAP MII message. The output will be in the form:
    <Rowsets><Messages><message>text to output</message></Messages></Rowsets>
    Insert the transaction into a XAcuteQuery
    Create a stylesheet which only output is the message node in the output from the transaction
    <xsl:output method="text" encoding="UTF-8" />
    <xsl:template match="/Rowsets/Messages/Message">
    <xsl:value-of select="." />
    </xsl:template>
    Run the query from the url:
    "http://SERVER:PORT/XMII/Illuminator?QueryTemplate=QUERYTEMPLATE&Stylesheet=STYLESHEET"

  • Is my Satellite L350D-213 supported for TV output?

    I'm not sure i'm able to display my laptop screen onto my TV, i'm a bit of a newbie to this sort of stuff :S
    My laptop model is Toshiba Satellite L350D-213, if my laptop is not supported for it; is there any other way i could display it?
    Thanks,
    alexdarbon.

    Hi
    It seems that your TV supports the s-video socket.
    Therefore you could use a cable [VGA to S-Video|http://ecx.images-amazon.com/images/I/61cIaRuNTZL._SL500_AA300_.jpg]
    There is also an PC input socket available this means that you can connect the LCD as an external monitor to the notebook.
    I think for this connection an VGA cable should be ok.
    I would recommend visiting an electronic equipment dealer downtown and to ask for a right cable.
    Greets

  • Xsl output placing %20 (spaces) in output

    Xsl output placing %20 (spaces) in output when XSL file is
    save by Dreamweaver CS3, I notice a problem in Dreamweaver CS3
    today, when editing XSL files. Here is the xsl code
    Note: I have no problems when using DW 8 for writing my xsl
    style sheets. I suspect a setting in DW CS3 would fix this. My
    current development environment is all hand coded, not using DW
    server behaviors for any thing. Using MSXML2.DomDocument.4.0 for a
    XML Parser.
    Top part of file
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet xmlns:xsl="
    http://www.w3.org/1999/XSL/Transform"
    version="1.0">
    <xsl:output omit-xml-declaration="yes"/>
    Works good this way (all the code on one line)
    <xsl:value-of disable-output-escaping="yes"
    select="url"/>?n=<xsl:value-of disable-output-escaping="yes"
    select="navigationid"/>&amp;p=<xsl:value-of
    disable-output-escaping="yes" select="parentid"/>
    I decided to make the code readable by placing the xsl calls
    on separate lines using line return on the keyboard.
    <xsl:value-of disable-output-escaping="yes"
    select="url"/>?n=
    <xsl:value-of disable-output-escaping="yes"
    select="navigationid"/>&amp;p=
    <xsl:value-of disable-output-escaping="yes"
    select="parentid"/>
    The code above resulted in my query string having
    %20%20%20%20%20 between the n= and value or p and value. It looks
    like the DW CS3 is placing some character in the file that XSL
    parser is interpreting as spaces (%20)
    Note: Dreamweaver 8 does not have this problem. is there a
    setting in CS3 to fix this, maybe a bug in DW CS3?
    David Pearson

    Hi,
    The xsl:output is not yet implemented. This was specified in the README file.
    Thanks,
    Oracle XML Team
    null

  • REPLY to xsl:output method="html" posting

    Due to a problem with the discussion software, I cannot reply to postings
    with a less-than sign in the Subject!
    As you can imagine in an XML forum where
    angle-brackets are common, this is a real
    pain! The OTN guys tell me they are
    working on a solution.
    We fully support all options of <xsl utput>
    The problem here is that your XSL Stylesheet must be a well-formed XML document, so everywhere you are using the <BR> element, you need to use
    instead.
    <xsl utput method="html"/> requests
    that when the XSLT Engine writes out
    the result of your transformation,
    is a propert HTML document.
    what the XSLT engine reads in must
    be well-formed XML.

    Sorry for jumping in on this thread, but I have a question regarding you reply. I have an XSL stylesheet that preforms XML to HTML conversion. Everything works correctly with the exception of those HTML tags that are not weel formed. Using your example if I have something like:
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="html"/>
    <input type="text" name="{NAME}" size="{DISPLAY_LENGTH}" maxlength="{LENGTH}"></input>
    </xsl:stylesheet>
    It would render HTML in the format of
    <HTML>
    <input type="text" name="in1" size="10" maxlength="20"/>
    </HTML>
    While IE can handle this Netscape can not. Is there anyway to generate completely cross browser complient HTML with XSL?
    Thanks!

Maybe you are looking for