10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hello Experts,
I have a requirement to start and stop weblogic services in a clustered environment.
First i need to start weblogic server and once the server is in Running mode i need to do SSH to other server and there i need to start Node Manager and Managed server, After these two are in... (1 Reply)
Discussion started by: beginner786
1 Replies
2. Solaris
Hi all!!
I´m using command file -i myfile.xml to validate XML file encoding, but it is just saying regular file . I´m expecting / looking an output as UTF8 or ANSI / ASCII
Is there command to display the files encoding?
Thank you! (2 Replies)
Discussion started by: mrreds
2 Replies
3. Filesystems, Disks and Memory
Hi all,
I'm a bit new to advanced filesystem types. I've just only learned that if you wish to share a single fibre channel extent with many servers you need to use a clustered filesystem to prevent data corruption.
looking through a list of clustered file systems I saw gfs2 which I thought... (1 Reply)
Discussion started by: jokken
1 Replies
4. Red Hat
Hi all,
I have a 2 node rhel 5.5 cluster (2 server and 1 quorum disk).
I created 2 cluster resources using Luci web console, they are 2 Volume Groups.
I want to remove that cluster and shutdown node 2, but I don't want to loose data on Volume Groups clustered.
How can I remove that... (0 Replies)
Discussion started by: peppeunz
0 Replies
5. Solaris
Hello Admins...
How can we migrate a solaris 10 zone which is clustered...??
We have sun cluster 3.2 in our environment. And this is 2 -node cluster
Let me know guys...
Thanks. (0 Replies)
Discussion started by: snchaudhari2
0 Replies
6. AIX
Hi,
I have done NIM restoration via nim_bosinst a lot of times but I have some doubts on restoring a server which is clustered specifically HACMP. Previously, I don't know the trend but after doing a nim_bosinst, I can see the client's hostname is back to "localhost" rather than its original... (0 Replies)
Discussion started by: depam
0 Replies
7. Shell Programming and Scripting
Hi,
I am beginner to Unix.
My requirement is to validate the encoding used in the incoming file(csv,txt).If it is encoded with UTF-8 format,then the file should remain as such otherwise i need to chnage the encoding to UTF-8.
Please advice me how to proceed on this. (7 Replies)
Discussion started by: cnraja
7 Replies
8. High Performance Computing
Tim Bass
Sat, 17 Nov 2007 04:11:25 +0000
In my earlier*post, A Model For Distributed Event*Processing, I promised to address grid computing, distributed object caching and virtualization, and how these technologies relate to complex event processing.***Some of my readers might forget my earlier... (0 Replies)
Discussion started by: Linux Bot
0 Replies
9. UNIX for Dummies Questions & Answers
Hi, I'm using putty and when I try to write ü it writes | (or when I try to write é , it writes i)
I tried to change settings/translation of putty but with no success
I have KSH
# locale
LANG=
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"... (3 Replies)
Discussion started by: palmer18
3 Replies
10. UNIX for Dummies Questions & Answers
I have 2 clustered hosts, is it possible for me to issue a netstat command against 1 host from the other ? (4 Replies)
Discussion started by: murphyboy
4 Replies
XML::Encoding(3pm) User Contributed Perl Documentation XML::Encoding(3pm)
NAME
XML::Encoding - A perl module for parsing XML encoding maps.
SYNOPSIS
use XML::Encoding;
my $em_parser = new XML::Encoding(ErrorContext => 2,
ExpatRequired => 1,
PushPrefixFcn => &push_prefix,
PopPrefixFcn => &pop_prefix,
RangeSetFcn => &range_set);
my $encmap_name = $em_parser->parsefile($ARGV[0]);
DESCRIPTION
This module, which is built as a subclass of XML::Parser, provides a parser for encoding map files, which are XML files. The file
maps/encmap.dtd in the distribution describes the structure of these files. Calling a parse method returns the name of the encoding map
(obtained from the name attribute of the root element). The contents of the map are processed through the callback functions push_prefix,
pop_prefix, and range_set.
METHODS
This module provides no additional methods to those provided by XML::Parser, but it does take the following additional options.
o ExpatRequired
When this has a true value, then an error occurs unless the encmap "expat" attribute is set to "yes". Whether or not the ExpatRequired
option is given, the parser enters expat mode if this attribute is set. In expat mode, the parser checks if the encoding violates expat
restrictions.
o PushPrefixFcn
The corresponding value should be a code reference to be called when a prefix element starts. The single argument to the callback is an
integer which is the byte value of the prefix. An undef value should be returned if successful. If in expat mode, a defined value
causes an error and is used as the message string.
o PopPrefixFcn
The corresponding value should be a code reference to be called when a prefix element ends. No arguments are passed to this function.
An undef value should be returned if successful. If in expat mode, a defined value causes an error and is used as the message string.
o RangeSetFcn
The corresponding value should be a code reference to be called when a "range" or "ch" element is seen. The 3 arguments passed to this
function are: (byte, unicode_scalar, length) The byte is the starting byte of a range or the byte being mapped by a "ch" element. The
unicode_scalar is the Unicode value that this byte (with the current prefix) maps to. The length of the range is the last argument.
This will be 1 for the "ch" element. An undef value should be returned if successful. If in expat mode, a defined value causes an error
and is used as the message string.
AUTHOR
Clark Cooper <coopercc@netheaven.com>
Steve Hay <shay@cpan.org> is now maintaining XML::Encoding as of version 2.00
SEE ALSO
XML::Parser
perl v5.12.3 2010-09-20 XML::Encoding(3pm)