Matching on comment() doesn't work

Hello,
Matching with comment() using the Java API in the XDK doesn't seem to work, but works with the xsl program included in the XDK (using XDK 10.1, and xsl is located in the bin directory).
I have style sheet with only this template:
<xsl:template match="/">
<xsl:message>Comment count:
<xsl:value-of select="count(//comment())"/>
</xsl:message>
<xsl:for-each select="//comment">
<xsl:copy/>
</xsl:for-each>
</xsl:template>
I run the template on the same xml file.
With the xsl utility it returns the comment count correctly and outputs all the comments.
With a short Java program I wrote, it outputs zero for the count and of course no comments in the output.
Do you see anything I did wrong in the Java program?
StreamSource xslInput = new StreamSource(new FileInputStream(xslFile));
StreamSource xmlInput = new StreamSource(new FileInputStream(xmlFile));
StreamResult xmlOutput = new StreamResult(System.out);
// Writes xml results to the console
Transformer xsl = TransformerFactory.newInstance().newTransformer(xslInput);
xsl.transform(xmlInput, xmlOutput);
Thanks,
Leon

Its a bug with the XDK. The program above was written using XDK and JDK 1.3 (which doesn't have XML APIs).
I recompiled and ran my program using JDK 1.4 and removed the XDK from my classpath. The program and XSL work fine.
Anyone have a work around?

Similar Messages

  • Matching quiz score doesn't work

    Hi,
    I have created a matching quiz question, after doing the quiz. in the results section the score is always zero and also it displayed you didn't completely finish this question!

    Do you perhaps use the Next button instead of the Submit button when confirming the answer? And please, tell which version you are using.

  • Icloud match streaming music doesn't work -- keeps hiccuping and interrupting

    I recently bought the iCloud Match service with the idea that I could listen to hi fi versions of what was all compressed files on my iTunes library.  Now when I try to play music in iTunes, it keeps stopping and starting,interrupting and hiccuping.  Any ideas?

    iCloud is not iTunes Match. The two services are seperate and distinct and one service does not require the other. iTunes Match does not use iCloud storage, nor is it a backup service.
    iTunes Match only scans, matches and uploads tracks in an iTunes library. It does not not do this on an iOS device. You cannot even purchase iTunes Match except through iTunes on a computer.
    You should take a look at this page to get a better idea of what iTunes Match is and does: http://www.apple.com/itunes/itunes-match/

  • Two-finger scroll doesn't work in the "comments list" in Adobe Reader

    Adobe Reader XI version 11.0.07, Mac 10.9.3
    Two-finger scroll works great in the main pane.  However it doesn't work in the comments list area (View -> Comments -> Annotations).
    Dealing with 500+ annotations that I have to approve.  Not being able to scroll through them easily is frustrating.
    Any suggestions?
    Thanks!
    Tom

    https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
    On Sun, Jun 8, 2014 at 12:30 PM, YesThatTom <[email protected]>

  • Add a Comment Link Doesn't Work - Not Recognized as a Link

    Hi there...hoping this can be a quick fix
    I have a blog, published on MobileMe, but the 'Add a Comment' link simply doesn't work. When I put my mouse over the words "Add a Comment," it doesn't even register as a link; its unclickable.
    www.thedailyarch.com
    I'd love to get the comments working!

    Just looked at your site and if you click on comments under most sections of your blog it leads you to a page with a video clip on it and the Comments link then appears to be in the footer below this.
    I don't think that the Comments is going to be a clickable link or work if it is in the footer section of your site. Try moving it above the footer and it will probably work.

  • Itunes match doesn't work with newest verstion of apple tv software

    Hi,
    I recently updated my software on my 3rd gen apple tv, and itunes match doesn't work anymore - I get the screen that it is retrieving information about my library and that it can take a few minutes.  Well, it after a few hours it still doesn't end retrieving.  This has been happening since I updated my software over 2 weeks ago.  Any solutions?  Thanks!

    Hi, I had the same problem. I changed countries on the Apple TV. This logged me out of my account. When I reverted back to my country and logged back in on the Apple TV, it worked (almost) without problem.

  • Smart Folder with "Comment" as search criteria doesn't work

    I am using Lion (OS 10.7.5), and am unable to define a Smart Folder in which the search criteria is a particular Comment in "Get Info". Nothing appears in the folder. In System Preferences, Spotlight lists under "Search Results" 15 different categories, but "Comments" is not one of them.
    Any advice on why this doesn not work?

    Dear Peter,
    I met the following problem, and please help me.
    My English (not Chinese) operating system: Windows XP
    Version: 2002
    Before using RoboHelp 7 to generate Webhelp, I perform the
    following steps:
    1. Control Panel->Regional Options
    2. On the "Languages" page make sure make sure you check the
    box "Install files for East Asian languages".
    3. On the "Advanced" page select "Chinese" from the language
    dropdown list.
    Then I perform the following steps:
    1. Use RoboHelp 7 to generate Webhelp (my Webhelp project
    contains localized Chinese files).
    2. In the "Search" tab, input a Chinese character(For example
    "连接") and perform a seach.
    Result: Serching...(or 正在搜索) or
    No topics found (or
    未找到主题)。
    Expected result: I can get the result.
    Text

  • I have install io6 and now Music doesn't work, sometimes it stay with a blank page with no possibility to press anithing, sometimes it crash. I have match music active with more than 15000 title. Someone could help me?

    I have install io6 and now Music doesn't work, sometimes it stay with a blank page with no possibility to press anithing, sometimes it crash. I have match music active with more than 15000 title. Someone could help me?

    What is your current Flash Player version: http://helpx.adobe.com/flash-player/kb/installation-problems-flash-player-windows.html ?
    What is your display adapter, driver version & date?  See http://forums.adobe.com/thread/945765

  • Synchronisation doesn't work with itunes. Comment : synchro will continue when PC will be available

    Synchro has been working until lasr monday 
    now it doesn't work (ipad and iphone).
    The iphone / ipad doesn't appear in itunes but i have the windows feedback
    On my ipad, in the general menu, option synchro wifi itunes, i read the synchro will continue when the pc will be available 

    Try this and see if it helps. Quit iTunes, reboot your PC, restart the iPad, restart iTunes and then try again.
    Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.

  • Direct Rendering doesn't works with radeon

    Hi everybody,
    I have a Radeon 7000. Then, I want to use the open-source driver.
    But it doesn't works...
    [nicolas@SonyVaio ~]$ glxinfo
    name of display: :0.0
    display: :0 screen: 0
    direct rendering: No
    server glx vendor string: SGI
    server glx version string: 1.2
    server glx extensions:
    GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
    GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_OML_swap_method,
    GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_hyperpipe,
    GLX_SGIX_swap_barrier, GLX_SGIX_fbconfig, GLX_MESA_copy_sub_buffer
    client glx vendor string: SGI
    client glx version string: 1.4
    client glx extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
    GLX_MESA_copy_sub_buffer, GLX_MESA_swap_control,
    GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_OML_sync_control,
    GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync,
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
    GLX_SGIX_visual_select_group, GLX_EXT_texture_from_pixmap
    GLX version: 1.2
    GLX extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
    GLX_OML_swap_method, GLX_SGI_make_current_read, GLX_SGIS_multisample,
    GLX_SGIX_fbconfig, GLX_EXT_texture_from_pixmap
    OpenGL vendor string: Mesa project: www.mesa3d.org
    OpenGL renderer string: Mesa GLX Indirect
    OpenGL version string: 1.2 (1.5 Mesa 6.5.1)
    OpenGL extensions:
    GL_ARB_depth_texture, GL_ARB_imaging, GL_ARB_multitexture,
    GL_ARB_point_parameters, GL_ARB_point_sprite, GL_ARB_shadow,
    GL_ARB_shadow_ambient, GL_ARB_texture_border_clamp,
    GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
    GL_ARB_texture_env_combine, GL_ARB_texture_env_crossbar,
    GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat,
    GL_ARB_texture_non_power_of_two, GL_ARB_texture_rectangle,
    GL_ARB_transpose_matrix, GL_ARB_window_pos, GL_EXT_abgr, GL_EXT_bgra,
    GL_EXT_blend_color, GL_EXT_blend_func_separate, GL_EXT_blend_logic_op,
    GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_clip_volume_hint,
    GL_EXT_copy_texture, GL_EXT_draw_range_elements, GL_EXT_fog_coord,
    GL_EXT_framebuffer_object, GL_EXT_multi_draw_arrays, GL_EXT_packed_pixels,
    GL_EXT_point_parameters, GL_EXT_polygon_offset, GL_EXT_rescale_normal,
    GL_EXT_secondary_color, GL_EXT_separate_specular_color,
    GL_EXT_shadow_funcs, GL_EXT_stencil_wrap, GL_EXT_subtexture,
    GL_EXT_texture, GL_EXT_texture3D, GL_EXT_texture_edge_clamp,
    GL_EXT_texture_env_add, GL_EXT_texture_env_combine,
    GL_EXT_texture_env_dot3, GL_EXT_texture_lod_bias, GL_EXT_texture_object,
    GL_EXT_texture_rectangle, GL_EXT_vertex_array, GL_APPLE_packed_pixels,
    GL_ATI_texture_env_combine3, GL_ATI_texture_mirror_once,
    GL_ATIX_texture_env_combine3, GL_IBM_texture_mirrored_repeat,
    GL_INGR_blend_func_separate, GL_MESA_pack_invert, GL_MESA_ycbcr_texture,
    GL_NV_blend_square, GL_NV_point_sprite, GL_NV_texgen_reflection,
    GL_NV_texture_rectangle, GL_SGIS_generate_mipmap,
    GL_SGIS_texture_border_clamp, GL_SGIS_texture_edge_clamp,
    GL_SGIS_texture_lod, GL_SGIX_depth_texture, GL_SGIX_shadow,
    GL_SGIX_shadow_ambient, GL_SUN_multi_draw_arrays
    glu version: 1.3
    glu extensions:
    GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess
    visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
    id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
    0x23 24 tc 0 24 0 r y . 8 8 8 0 0 16 0 0 0 0 0 0 0 None
    0x24 24 tc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 0 0 0 None
    0x25 24 tc 0 32 0 r y . 8 8 8 8 0 16 8 16 16 16 16 0 0 None
    0x26 24 tc 0 32 0 r . . 8 8 8 8 0 16 8 16 16 16 16 0 0 None
    0x27 24 dc 0 24 0 r y . 8 8 8 0 0 16 0 0 0 0 0 0 0 None
    0x28 24 dc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 0 0 0 None
    0x29 24 dc 0 32 0 r y . 8 8 8 8 0 16 8 16 16 16 16 0 0 None
    0x2a 24 dc 0 32 0 r . . 8 8 8 8 0 16 8 16 16 16 16 0 0 None
    See my /etc/X11/xorg.conf :
    # Copyright 2004 The X.Org Foundation
    # Permission is hereby granted, free of charge, to any person obtaining a
    # copy of this software and associated documentation files (the "Software"),
    # to deal in the Software without restriction, including without limitation
    # the rights to use, copy, modify, merge, publish, distribute, sublicense,
    # and/or sell copies of the Software, and to permit persons to whom the
    # Software is furnished to do so, subject to the following conditions:
    # The above copyright notice and this permission notice shall be included in
    # all copies or substantial portions of the Software.
    # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
    # The X.Org Foundation BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
    # WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
    # OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
    # SOFTWARE.
    # Except as contained in this notice, the name of The X.Org Foundation shall
    # not be used in advertising or otherwise to promote the sale, use or other
    # dealings in this Software without prior written authorization from
    # The X.Org Foundation.
    # Refer to the xorg.conf(5x) man page for details about the format of
    # this file.
    # Module section -- this section is used to specify
    # which dynamically loadable modules to load.
    Section "Module"
    # This loads the DBE extension module.
    Load "dbe" # Double buffer extension
    # This loads the miscellaneous extensions module, and disables
    # initialisation of the XFree86-DGA extension within that module.
    SubSection "extmod"
    Option "omit xfree86-dga" # don't initialise the DGA extension
    EndSubSection
    # This loads the font modules
    # Load "type1"
    # Load "speedo"
    Load "freetype"
    # Load "xtt"
    # This loads the GLX module
    Load "glx"
    # This loads the DRI module
    Load "dri"
    EndSection
    # Files section. This allows default font and rgb paths to be set
    Section "Files"
    # The location of the RGB database. Note, this is the name of the
    # file minus the extension (like ".txt" or ".db"). There is normally
    # no need to change the default.
    # RgbPath "/usr/share/X11/rgb"
    # Multiple FontPath entries are allowed (which are concatenated together),
    # as well as specifying multiple comma-separated entries in one FontPath
    # command (or a combination of both methods)
    FontPath "/usr/share/fonts/misc"
    FontPath "/usr/share/fonts/75dpi"
    FontPath "/usr/share/fonts/100dpi"
    FontPath "/usr/share/fonts/TTF"
    FontPath "/usr/share/fonts/Type1"
    # FontPath "/usr/lib/X11/fonts/local/"
    # FontPath "/usr/lib/X11/fonts/misc/"
    # FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
    # FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
    # FontPath "/usr/lib/X11/fonts/Speedo/"
    # FontPath "/usr/lib/X11/fonts/Type1/"
    # FontPath "/usr/lib/X11/fonts/TrueType/"
    # FontPath "/usr/lib/X11/fonts/freefont/"
    # FontPath "/usr/lib/X11/fonts/75dpi/"
    # FontPath "/usr/lib/X11/fonts/100dpi/"
    # The module search path. The default path is shown here.
    # ModulePath "/usr/lib/modules"
    EndSection
    # Server flags section.
    Section "ServerFlags"
    # Uncomment this to cause a core dump at the spot where a signal is
    # received. This may leave the console in an unusable state, but may
    # provide a better stack trace in the core dump to aid in debugging
    # Option "NoTrapSignals"
    # Uncomment this to disable the <Ctrl><Alt><Fn> VT switch sequence
    # (where n is 1 through 12). This allows clients to receive these key
    # events.
    # Option "DontVTSwitch"
    # Uncomment this to disable the <Ctrl><Alt><BS> server abort sequence
    # This allows clients to receive this key event.
    # Option "DontZap"
    # Uncomment this to disable the <Ctrl><Alt><KP_>/<KP_> mode switching
    # sequences. This allows clients to receive these key events.
    # Option "Dont Zoom"
    # Uncomment this to disable tuning with the xvidtune client. With
    # it the client can still run and fetch card and monitor attributes,
    # but it will not be allowed to change them. If it tries it will
    # receive a protocol error.
    # Option "DisableVidModeExtension"
    # Uncomment this to enable the use of a non-local xvidtune client.
    # Option "AllowNonLocalXvidtune"
    # Uncomment this to disable dynamically modifying the input device
    # (mouse and keyboard) settings.
    # Option "DisableModInDev"
    # Uncomment this to enable the use of a non-local client to
    # change the keyboard or mouse settings (currently only xset).
    # Option "AllowNonLocalModInDev"
    EndSection
    # Input devices
    # Core keyboard's InputDevice section
    Section "InputDevice"
    Identifier "Keyboard1"
    Driver "kbd"
    # For most OSs the protocol can be omitted (it defaults to "Standard").
    # When using XQUEUE (only for SVR3 and SVR4, but not Solaris),
    # uncomment the following line.
    # Option "Protocol" "Xqueue"
    Option "AutoRepeat" "500 30"
    # Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
    # Option "Xleds" "1 2 3"
    # Option "LeftAlt" "Meta"
    # Option "RightAlt" "ModeShift"
    # To customise the XKB settings to suit your keyboard, modify the
    # lines below (which are the defaults). For example, for a non-U.S.
    # keyboard, you will probably want to use:
    # Option "XkbModel" "pc105"
    # If you have a US Microsoft Natural keyboard, you can use:
    # Option "XkbModel" "microsoft"
    # Then to change the language, change the Layout setting.
    # For example, a german layout can be obtained with:
    # Option "XkbLayout" "de"
    # or:
    # Option "XkbLayout" "de"
    # Option "XkbVariant" "nodeadkeys"
    # If you'd like to switch the positions of your capslock and
    # control keys, use:
    # Option "XkbOptions" "ctrl:swapcaps"
    # These are the default XKB settings for Xorg
    # Option "XkbRules" "xorg"
    # Option "XkbModel" "pc105"
    # Option "XkbLayout" "us"
    # Option "XkbVariant" ""
    # Option "XkbOptions" ""
    # Option "XkbDisable"
    Option "XkbRules" "xorg"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "fr"
    # Option "XkbVariant" "fr"
    EndSection
    # Core Pointer's InputDevice section
    Section "InputDevice"
    # Identifier and driver
    Identifier "Mouse1"
    Driver "mouse"
    Option "Protocol" "Auto"
    Option "Device" "/dev/input/mice"
    # When using XQUEUE, comment out the above two lines, and uncomment
    # the following line.
    # Option "Protocol" "Xqueue"
    # Mouse-speed setting for PS/2 mouse.
    # Option "Resolution" "256"
    # Baudrate and SampleRate are only for some Logitech mice. In
    # almost every case these lines should be omitted.
    # Option "BaudRate" "9600"
    # Option "SampleRate" "150"
    # Mouse wheel mapping. Default is to map vertical wheel to buttons 4 & 5,
    # horizontal wheel to buttons 6 & 7. Change if your mouse has more than
    # 3 buttons and you need to map the wheel to different button ids to avoid
    # conflicts.
    Option "ZAxisMapping" "4 5"
    # Emulate3Buttons is an option for 2-button mice
    # Emulate3Timeout is the timeout in milliseconds (default is 50ms)
    # Option "Emulate3Buttons"
    # Option "Emulate3Timeout" "50"
    # ChordMiddle is an option for some 3-button Logitech mice
    # Option "ChordMiddle"
    EndSection
    # Other input device sections
    # this is optional and is required only if you
    # are using extended input devices. This is for example only. Refer
    # to the xorg.conf man page for a description of the options.
    # Section "InputDevice"
    # Identifier "Mouse2"
    # Driver "mouse"
    # Option "Protocol" "MouseMan"
    # Option "Device" "/dev/mouse2"
    # EndSection
    # Section "InputDevice"
    # Identifier "spaceball"
    # Driver "magellan"
    # Option "Device" "/dev/cua0"
    # EndSection
    # Section "InputDevice"
    # Identifier "spaceball2"
    # Driver "spaceorb"
    # Option "Device" "/dev/cua0"
    # EndSection
    # Section "InputDevice"
    # Identifier "touchscreen0"
    # Driver "microtouch"
    # Option "Device" "/dev/ttyS0"
    # Option "MinX" "1412"
    # Option "MaxX" "15184"
    # Option "MinY" "15372"
    # Option "MaxY" "1230"
    # Option "ScreenNumber" "0"
    # Option "ReportingMode" "Scaled"
    # Option "ButtonNumber" "1"
    # Option "SendCoreEvents"
    # EndSection
    # Section "InputDevice"
    # Identifier "touchscreen1"
    # Driver "elo2300"
    # Option "Device" "/dev/ttyS0"
    # Option "MinX" "231"
    # Option "MaxX" "3868"
    # Option "MinY" "3858"
    # Option "MaxY" "272"
    # Option "ScreenNumber" "0"
    # Option "ReportingMode" "Scaled"
    # Option "ButtonThreshold" "17"
    # Option "ButtonNumber" "1"
    # Option "SendCoreEvents"
    # EndSection
    # Monitor section
    # Any number of monitor sections may be present
    Section "Monitor"
    Identifier "My Monitor"
    # HorizSync is in kHz unless units are specified.
    # HorizSync may be a comma separated list of discrete values, or a
    # comma separated list of ranges of values.
    # NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
    # USER MANUAL FOR THE CORRECT NUMBERS.
    HorizSync 31.0 - 50.0
    # HorizSync 30-64 # multisync
    # HorizSync 31.5, 35.2 # multiple fixed sync frequencies
    # HorizSync 15-25, 30-50 # multiple ranges of sync frequencies
    # VertRefresh is in Hz unless units are specified.
    # VertRefresh may be a comma separated list of discrete values, or a
    # comma separated list of ranges of values.
    # NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
    # USER MANUAL FOR THE CORRECT NUMBERS.
    VertRefresh 43-75
    EndSection
    # Graphics device section
    # Any number of graphics device sections may be present
    # Standard VGA Device:
    Section "Device"
    Identifier "Standard VGA"
    VendorName "Unknown"
    BoardName "Unknown"
    # The chipset line is optional in most cases. It can be used to override
    # the driver's chipset detection, and should not normally be specified.
    # Chipset "generic"
    # The Driver line must be present. When using run-time loadable driver
    # modules, this line instructs the server to load the specified driver
    # module. Even when not using loadable driver modules, this line
    # indicates which driver should interpret the information in this section.
    Driver "vga"
    # The BusID line is used to specify which of possibly multiple devices
    # this section is intended for. When this line isn't present, a device
    # section can only match up with the primary video device. For PCI
    # devices a line like the following could be used. This line should not
    # normally be included unless there is more than one video device
    # intalled.
    # BusID "PCI:0:10:0"
    # VideoRam 256
    # Clocks 25.2 28.3
    EndSection
    # Device configured by xorgconfig:
    Section "Device"
    Identifier "** ATI Radeon (generic) [radeon]"
    Driver "radeon"
    #VideoRam 8192
    # Insert Clocks lines here if appropriate
    EndSection
    # Screen sections
    # Any number of screen sections may be present. Each describes
    # the configuration of a single screen. A single specific screen section
    # may be specified from the X server command line with the "-screen"
    # option.
    Section "Screen"
    Identifier "Screen 1"
    Device "** ATI Radeon (generic) [radeon]"
    Monitor "My Monitor"
    DefaultDepth 24
    Subsection "Display"
    Depth 8
    Modes "1280x1024" "1024x768" "800x600" "640x480"
    ViewPort 0 0
    EndSubsection
    Subsection "Display"
    Depth 16
    Modes "1280x1024" "1024x768" "800x600" "640x480"
    ViewPort 0 0
    EndSubsection
    Subsection "Display"
    Depth 24
    Modes "1280x1024" "1024x768" "800x600" "640x480"
    ViewPort 0 0
    EndSubsection
    EndSection
    # ServerLayout sections.
    # Any number of ServerLayout sections may be present. Each describes
    # the way multiple screens are organised. A specific ServerLayout
    # section may be specified from the X server command line with the
    # "-layout" option. In the absence of this, the first section is used.
    # When now ServerLayout section is present, the first Screen section
    # is used alone.
    Section "ServerLayout"
    # The Identifier line must be present
    Identifier "Simple Layout"
    # Each Screen line specifies a Screen section name, and optionally
    # the relative position of other screens. The four names after
    # primary screen name are the screens to the top, bottom, left and right
    # of the primary screen. In this example, screen 2 is located to the
    # right of screen 1.
    Screen "Screen 1"
    # Each InputDevice line specifies an InputDevice section name and
    # optionally some options to specify the way the device is to be
    # used. Those options include "CorePointer", "CoreKeyboard" and
    # "SendCoreEvents".
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
    EndSection
    Section "DRI"
    Group "video"
    Mode 0666
    EndSection
    I precise I loaded my modules : dri, radeon, ati_agp and intel_agp.
    Any ideas ?
    Thanks

    For Radeon 7000, you need to:
    pacman -S xf86-video-ati
    You need to load those modules in /etc/rc.conf:
    MODULES=(agpgart via-agp)
    And in xorg.conf:
    Driver      "radeon"

  • NameTrans doesn't work in Sun One 7

    hi,
    OS Solaris 10
    Web: Sun One 7u1
    this line in obj.conf doesn't work anymore in Sun Web 7, but worked in 6.xx
    NameTrans fn="pfx2dir" from="/rabota/css" dir="/opt/semen/secure/rabota-css" name="es-internal"
    What changes should be applied for Web 7???
    --mpech                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    hi,
    yes.
    # Copyright 2006 Sun Microsystems, Inc. All rights reserved.
    # Use is subject to license terms.
    # You can edit this file, but comments and formatting changes
    # might be lost when you use the administration GUI or CLI.
    <Object name="default">
    AuthTrans fn="match-browser" browser="*MSIE*" ssl-unclean-shutdown="true"
    NameTrans fn="ntrans-j2ee" name="j2ee"
    NameTrans fn="pfx2dir" from="/mc-icons" dir="/sun/webserver7/lib/icons" name="es-internal"
    NameTrans fn="pfx2dir" from="/aaa/images" dir="/sun/webserver7/https-mir/docs/img" name="es-internal"
    PathCheck fn="uri-clean"
    PathCheck fn="check-acl" acl="default"
    PathCheck fn="find-pathinfo"
    PathCheck fn="find-index-j2ee"
    PathCheck fn="find-index" index-names="index.html,home.html,index.jsp"
    ObjectType fn="type-j2ee"
    ObjectType fn="type-by-extension"
    ObjectType fn="force-type" type="text/plain"
    Service method="(GET|HEAD)" type="magnus-internal/directory" fn="index-common"
    Service method="(GET|HEAD|POST)" type="*~magnus-internal/*" fn="send-file"
    Service method="TRACE" fn="service-trace"
    Error fn="error-j2ee"
    AddLog fn="flex-log"
    </Object>
    <Object name="j2ee">
    Service fn="service-j2ee" method="*"
    </Object>
    <Object name="es-internal">
    PathCheck fn="check-acl" acl="es-internal"
    </Object>
    <Object name="cgi">
    ObjectType fn="force-type" type="magnus-internal/cgi"
    Service fn="send-cgi"
    </Object>
    <Object name="send-precompressed">
    PathCheck fn="find-compressed"
    </Object>
    <Object name="compress-on-demand">
    Output fn="insert-filter" filter="http-compression"
    </Object>

  • Ssh config : sshd_config and chroot doesn't work

    Hi,
    We tried to customize ssh parameters in sshd_config file in leopard server (in /etc/ssd_config). We need to restrict ssh and sft users' access only in their folders and not go up in parent folders.
    I read that chroot parameter is the right to do this, but it doesn't work with ssh leopard standard version.
    So I installed with macports last openssh and chroot parameter seems to work (ssh service start correctly) but in this case it's impossible to authentificate users : maybe I must use special parameters to use ODM and Kerberos.
    Have you some ideas ?
    Lines added in sshd_config :
    #Match user myuser
    # ForceCommand internal-sftp
    # ChrootDirectory /Volumes/SAN2/Users/myuser
    Chris

    Meyithi wrote:
    Corsair wrote:I uncommented `make nconfig' and commented `yes "" | make config'.  So now my build() looks like this
    I can't see where on that guide it says to comment 'yes "" | make config", I use the same method and I certainly don't do that.
    EDIT/ Here is PKGBUILD I use - http://paste.pocoo.org/show/376935/
    I also tried to not comment that line.  But as expected, that did not change the behavior of nconfig.  Still did not work...

  • Getting Log File Pattern Matched Line Count metric to work ?

    Hi
    has anyone been able to get this to work with more complex Perl expressions ?
    Basically I can get simple, single expressions to match.
    EG *(does not exist)* will match the text *"does not exist"* anywhere in a file.
    However, if I want to match either does not exist OR file not found I should be able to do something like
    *(does not exist)|(file not found)* OR *(does not exist|file not found)* but this just doesn't work.
    I want to be able to do more complex expressions, using *\i* (ignore case), and *^* (start of line) *$* (end of line) expressions too.
    I can test the matching functionality using a simple perl program, and I know the expression works in Perl.
    Oracle is supposed to be using a perl pattern match but seems to fail unless it is a single simple expression.
    Anyone been able to use this functionality at all.
    Many thanks.

    I have a chance to look into the parse-log1.pl script which is responsible for monitoring the log files and generating the alerts for EMGC. I am just pasting the comments given in this file
    # This script is used in EMD to parse log files for critical and
    # warning patterns. The script holds the last line number searched
    # for each file in a state file for each time the script is run. The
    # next run of the script starts from the next line. The state file name
    # is read from the environment variable $EM_STATE_FILE, which must
    # be set for the script to run.
    but in my case this is not happending according to log files it is storing the lst read line of the log file but it is not using that info in its next run. The file will be scanned from the begining again but this is not the case with emagent.log file monitoring its working fine as expected and explained in the script file.
    According to my observation this is becasue of the script is rotating my log file for each run i dont know how stop it. I just want to scan my log file I dont want to rotate my log file for each run of the script. Could any one please help me to solve this problem
    Thanks
    Ashok Chava.

  • [SOLVED]Xorg 1.8 doesn't work

    Hello, I've just upgraded to linux-firmware and the newest X.org, which doesn't work.
    Xorg.0.log tells me:
    [ 934.318]
    X.Org X Server 1.8.1
    Release Date: 2010-05-11
    [ 934.322] X Protocol Version 11, Revision 0
    [ 934.323] Build Operating System: Linux 2.6.33-ARCH x86_64
    [ 934.325] Current Operating System: Linux staerseus 2.6.34-ARCH #1 SMP PREEMPT Sat Jun 19 00:07:49 CEST 2010 x86_64
    [ 934.326] Kernel command line: root=/dev/disk/by-uuid/727c4683-ee4c-4b32-8a59-370264cb7d9f ro i915.modeset=1 init=/sbin/bootchartd
    [ 934.327] Build Date: 26 May 2010 07:50:07PM
    [ 934.329]
    [ 934.330] Current version of pixman: 0.18.2
    [ 934.331] Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    [ 934.334] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    [ 934.338] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Jun 21 10:15:38 2010
    [ 934.340] (==) Using config file: "/etc/X11/xorg.conf"
    [ 934.341] (==) Using config directory: "/etc/X11/xorg.conf.d"
    [ 934.343] (==) No Layout section. Using the first Screen section.
    [ 934.343] (==) No screen section available. Using defaults.
    [ 934.343] (**) |-->Screen "Default Screen Section" (0)
    [ 934.343] (**) | |-->Monitor "<default monitor>"
    [ 934.343] (==) No monitor specified for screen "Default Screen Section".
    Using a default monitor configuration.
    [ 934.343] (==) Automatically adding devices
    [ 934.343] (==) Automatically enabling devices
    [ 934.343] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
    [ 934.343] Entry deleted from font path.
    [ 934.343] (==) FontPath set to:
    /usr/share/fonts/misc/,
    /usr/share/fonts/TTF/,
    /usr/share/fonts/Type1/,
    /usr/share/fonts/100dpi/,
    /usr/share/fonts/75dpi/
    [ 934.343] (==) ModulePath set to "/usr/lib/xorg/modules"
    [ 934.343] (II) The server relies on udev to provide the list of input devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
    [ 934.343] (II) Loader magic: 0x7ce880
    [ 934.343] (II) Module ABI versions:
    [ 934.343] X.Org ANSI C Emulation: 0.4
    [ 934.343] X.Org Video Driver: 7.0
    [ 934.343] X.Org XInput driver : 9.0
    [ 934.343] X.Org Server Extension : 3.0
    [ 934.352] (--) PCI:*(0:0:2:0) 8086:2a42:1734:113f Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller rev 7, Mem @ 0xf2400000/4194304, 0xd0000000/268435456, I/O @ 0x00001800/8
    [ 934.352] (--) PCI: (0:0:2:1) 8086:2a43:1734:113f Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller rev 7, Mem @ 0xf2100000/1048576
    [ 934.352] (II) Open ACPI successful (/var/run/acpid.socket)
    [ 934.352] (II) LoadModule: "extmod"
    [ 934.352] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
    [ 934.352] (II) Module extmod: vendor="X.Org Foundation"
    [ 934.352] compiled for 1.8.1, module version = 1.0.0
    [ 934.352] Module class: X.Org Server Extension
    [ 934.352] ABI class: X.Org Server Extension, version 3.0
    [ 934.352] (II) Loading extension MIT-SCREEN-SAVER
    [ 934.352] (II) Loading extension XFree86-VidModeExtension
    [ 934.352] (II) Loading extension XFree86-DGA
    [ 934.352] (II) Loading extension DPMS
    [ 934.352] (II) Loading extension XVideo
    [ 934.352] (II) Loading extension XVideo-MotionCompensation
    [ 934.352] (II) Loading extension X-Resource
    [ 934.352] (II) LoadModule: "dbe"
    [ 934.352] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
    [ 934.352] (II) Module dbe: vendor="X.Org Foundation"
    [ 934.353] compiled for 1.8.1, module version = 1.0.0
    [ 934.353] Module class: X.Org Server Extension
    [ 934.353] ABI class: X.Org Server Extension, version 3.0
    [ 934.353] (II) Loading extension DOUBLE-BUFFER
    [ 934.353] (II) LoadModule: "glx"
    [ 934.353] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
    [ 934.353] (II) Module glx: vendor="X.Org Foundation"
    [ 934.353] compiled for 1.8.1, module version = 1.0.0
    [ 934.353] ABI class: X.Org Server Extension, version 3.0
    [ 934.353] (==) AIGLX enabled
    [ 934.353] (II) Loading extension GLX
    [ 934.353] (II) LoadModule: "record"
    [ 934.353] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
    [ 934.353] (II) Module record: vendor="X.Org Foundation"
    [ 934.353] compiled for 1.8.1, module version = 1.13.0
    [ 934.353] Module class: X.Org Server Extension
    [ 934.353] ABI class: X.Org Server Extension, version 3.0
    [ 934.353] (II) Loading extension RECORD
    [ 934.353] (II) LoadModule: "dri"
    [ 934.353] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
    [ 934.353] (II) Module dri: vendor="X.Org Foundation"
    [ 934.353] compiled for 1.8.1, module version = 1.0.0
    [ 934.353] ABI class: X.Org Server Extension, version 3.0
    [ 934.353] (II) Loading extension XFree86-DRI
    [ 934.354] (II) LoadModule: "dri2"
    [ 934.354] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
    [ 934.354] (II) Module dri2: vendor="X.Org Foundation"
    [ 934.354] compiled for 1.8.1, module version = 1.2.0
    [ 934.354] ABI class: X.Org Server Extension, version 3.0
    [ 934.354] (II) Loading extension DRI2
    [ 934.354] (==) Matched intel as autoconfigured driver 0
    [ 934.354] (==) Matched vesa as autoconfigured driver 1
    [ 934.354] (==) Matched fbdev as autoconfigured driver 2
    [ 934.354] (==) Assigned the driver to the xf86ConfigLayout
    [ 934.354] (II) LoadModule: "intel"
    [ 934.354] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
    [ 934.354] (II) Module intel: vendor="X.Org Foundation"
    [ 934.354] compiled for 1.7.6, module version = 2.11.0
    [ 934.354] Module class: X.Org Video Driver
    [ 934.354] ABI class: X.Org Video Driver, version 6.0
    [ 934.354] (EE) module ABI major version (6) doesn't match the server's version (7)
    [ 934.356] (II) UnloadModule: "intel"
    [ 934.356] (II) Unloading /usr/lib/xorg/modules/drivers/intel_drv.so
    [ 934.356] (EE) Failed to load module "intel" (module requirement mismatch, 0)
    [ 934.357] (II) LoadModule: "vesa"
    [ 934.357] (WW) Warning, couldn't open module vesa
    [ 934.357] (II) UnloadModule: "vesa"
    [ 934.357] (EE) Failed to load module "vesa" (module does not exist, 0)
    [ 934.359] (II) LoadModule: "fbdev"
    [ 934.359] (WW) Warning, couldn't open module fbdev
    [ 934.359] (II) UnloadModule: "fbdev"
    [ 934.359] (EE) Failed to load module "fbdev" (module does not exist, 0)
    [ 934.360] (EE) No drivers available.
    [ 934.362]
    Fatal server error:
    [ 934.364] no screens found
    [ 934.365]
    Please consult the The X.Org Foundation support
    at http://wiki.x.org
    for help.
    [ 934.370] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
    [ 934.372]
    What does the problem with modules mean? Archlinux was warning me, that "in future releases /etc/modprobe.d/framebuffer_blacklist.conf.save will be ignored, but it is the same file as /etc/modprobe.d/framebuffer_blacklist.conf.
    I don't understand, why it cannot find any screens (I use a laptop screen)
    I tried to start with and without xorg.conf, which is:
    Section "Device"
    Identifier "Intel X4500MHD"
    Driver "intel"
    VendorName "Intel Corporation"
    BoardName "Mobile 4 Series Chipset Integrated Graphics Controller"
    BusID "PCI:0:2:0"
    Option "DRI" "true"
    Option "AccelMethod" "uxa"
    Option "MigrationHeuristic" "greedy"
    EndSection
    The graphic driver I use is xf86-video-intel-newest from archstuff, but it is the same version as xf86-video-intel.
    I am not sure if I provided all needed info, but I hope so. Thank you for your help.SOLVED
    Last edited by Staerseus (2010-06-21 09:18:03)

    Use the arch version.   It is actually built against the xorg version that you are using...  here is the relevant section of your log:
    [ 934.354] (EE) module ABI major version (6) doesn't match the server's version (7)

  • Swipe doesn't work on my mobile.

    Hi everyone,
    My swipe on moblie doesn't work. I checked "enable swipe" and still doesn't work.
    I don't know what's the right link for the phone but here's my link and just type it on your phone: EFS2 Soccer Clinic: Media
    Maybe I missed something or whatever, Let me know!
    Thanks
    Debs

    The new release of Muse didn't seem to fix the problem for me, so I don't think they are addressing it. I was only able to fix the problem by having a developer modify the code to fix the swipe function.Only thing I've seen is this comment from Adobe on July 7th.
    "In the most recent major update of Chrome, Google fundamentally changed how Mobile Chrome supports swipe events. Those changes have broken swipe behaviors on Muse generated websites when viewed in Mobile Chrome. We're aware of the issue and working on changes to Muse code generation to address it as part of a future major update of Muse."
    https://forums.adobe.com/message/6529993#6529993

Maybe you are looking for

  • Make USB mount read only.

    Hello again, I am looking to make any USB mounted devices read only by default. Is there a way to do this in Leopard?

  • Can't figure this out

    Hi, This probably has a simple explanation, but I just don't understand why this happens. Can someone explain me why number 1 is never printed? value = "[1][2][3][6]"; if( value.indexOf("[1]") > 0 ) {      System.out.println(1); if( value.indexOf("[2

  • Socket causes Win2K reboot

    Hello there, I wrote a client program which connects to a server program using socket. The client program communicates with the server first to establish an agreed association and then it will send several data files to the server program. When the s

  • Wrap Stub with dynamic proxy?

    Hi All, I am looking for the answer of this question from couple of days. I want to create an Interceptor chains on RMI level for an EJB client communicating with an Application server. This client can communicate using RMI/JRMP or RMI/IIOP, neverthe

  • Desktop Manager Crashes During Sync Phase with Notes Calendar

    Hello All, My Destop Software continually crashes at the point of Syncing with Lotus Notes Calendar. Every other part of Syncing with Notes works fine and sometimes I get a partial Sync with the Calendar, but consistently every time it crashes during