B1DE namespace support
I understand that from January 2009, SAP are only letting partners register for namespaces over 5 characters. The installation of the B1DE does not support namespaces longer that 4 characters. Does anyone know when the B1DE will be updated to support the longer namespaces?
Many Thanks
Hi Robert,
There must be some misunderstanding:
I just checked with the owner of the namespace reservation process @SAP - and he told me that there has bee NO change!
Please note that you will never use the "/"es which you have to fill into the namespace field when requesting a namespace!
I.e. the namespace you want would be: "ROB", but you have to fill in "/ROB/" into the field - just there - no where else!
Regards,
Frank
Similar Messages
-
Hi,
I am NOT using the XPath helper package. I am using xslprocessor.selectNodes() to get a nodelist.
My xml document contains a default namespace, and I cannot change it.
Is there a work around to the fact that default namespaces is not supported? I'm getting "Namespace prefix 'x' is used but not declared" on the following pl/sql line:
guests := xslprocessor.selectNodes(xmldom.makeNode(xmldoc), '/xml/rs:data/z:row');
I'm willing to jump through a few hoops, if necessary.
Thanks for any insight!
ReginaCorrection. Please use the following test case.
1. Create an application and a project in JDeveloepr 11g.
2. Add an XML document. catalog.xml, from the New Gallery.
What doesn't generate an error.
3. Copy the following XML documen to catalog.xml.
<?xml version="1.0" encoding="UTF-8"?>
<catalog xmlns:journal="http://www.xdk11g.com/xpath">
<journal:journal journal:date="November-December 2008">
<journal:article journal:section="ORACLE DEVELOPER">
<title>Instant ODP.NET Deployment</title>
<author>Mark A. Williams</author>
</journal:article>
</journal:journal>
<journal date="March-April 2008">
<article section="TECHNOLOGY">
<title>Oracle Database 11g Redux</title>
<author>Tom Kyte</author>
</article>
</journal>
</catalog>
4. Select Search>XPath Search.
5. Add a namespace mapping with Add button.
Prefix: journal
URI: http://www.xdk11g.com/xpath
6. Specify an XPath expression in Expression field.
/catalog/journal:journal
7. Click on OK. The jounal:journal node gets selected.
What generates an error (the bug).
8. Copy the following XML document to catalog.xml.
<?xml version="1.0" encoding="UTF-8"?>
<catalog xmlns="http://www.xdk11g.com/xpath/defaultNamespace">
<journal date="November-December 2008">
<article section="ORACLE DEVELOPER">
<title>Instant ODP.NET Deployment</title>
<author>Mark A. Williams</author>
</article>
</journal>
<journal date="March-April 2008">
<article section="TECHNOLOGY">
<title>Oracle Database 11g Redux</title>
<author>Tom Kyte</author>
</article>
</journal>
</catalog>
9. Add a namespace mapping with Add button for the default namespace. Specify prefix as empty.
Prefix:
URI: http://www.xdk11g.com/xpath/defaultNamespace
10. Specify an XPath expression in Expression field.
/catalog/journal
11. Click on OK. The journal node does not get selected. -
SAX parser exception : Namespace not supported by SAX parser
Hi,
I'm using xslt to transform xml to html. I've downloaded Xalan2J from Apache website and I've used Transformer factory implementation.
The code works fine through Forte IDE environment where I've mounted jar files xerces.jar, xml-apis.jar, xalan.jar
The problem occurs when I try to instantiate the same method through JSP page. It throws an exception
SAXParser exception : Namespace not supported by SAXParser. I'm trying to run the jsp file through jakarta tomcat environment.
I've included xerces.jar, xml-apis.jar, xalan.jar in my classpath. I fail to understand why namespace support is not available.
Any help/suggetsions would be appreciated :)
ThanksHi,
Yes, In tomcat environment, by default the jar files in the lib directory are set before reading the system classpath which causes a problem. One could replace the xerces.jar with a new jar file and delete parser.jar but that has its own set of problems.
The other alternative would be to use something like
System.setProperty("javax.xml.parsers.SAXParserFactory","org.apache.xerces.jaxp.SAXParserFactoryImpl");
This worked for me..:) -
Disable namespace prefixes in Transformer
hi
I am stuck in a cyclic problem. JAXP XSLT and SchemaValidator do not work together. (Java 1.5 and 1.6)
I have a XSD with a namespace.
When I generate the XML using an XSLT I specify namespace using the namespace attribute of xsl:element
The JAXP transformer always generate the namespace prefix and equate the prefix with the actual URI
Is there a way to disable this behavior, that is, I do want the xmlns URI in the root element but not the prefix?
There are two reasons for wanting an XML without prefixes:
1) The Schema Validator provided with JRE is not able to validate the message with prefix, but it works fine with xmlns URI
<rootelem xmlns="urn:xmlns:xyz.abc.com"> validates fine
but
<ns0:rootelem xmlns:ns0="urn:xmlns:xyz.abc.com"> fails validation with error:
org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'ns0:rootelem'.
I am able to generate the first case when I use Saxon based OrangeXSLT plugin for Eclipse but JAXP based transformer always generate the second case.
2) More importantly, I have XML consumers that could use parsing without namespace support and prefixed element will not work there.
I am using StreamResult in the Transformer.transform() call and my guess is that the internal implementation of Transformer might be using a SAX ContentHandler (XML Serializer) to write XML to the outputStream and I guess one way to get around could be that I write a custom ContentHandler and use a SAXResult in the transform call. I am not sure if I am thinking in the right direction.
If I am correct in my guess, could someone please point to some implementation of XMLSerializer that could be overridden just to disable namespace prefixing behavior?
I have removed the namespace from the XSD for things to work. I would appreciate any help with this.Moving to latest Xalan and Xerces solved the problem.
But a new one surfaced.
Xalan's latest transformer does not handle StreamSource correctly and throws some exception internally (IOException related to end of stream), with the message:
SystemId Unknown; Line #-1; Column #-1; Premature end of file.
It work correctly if a DOMSource is provided as the input. This does not make sense, since the InputStream my code is using for StreamSource is ByteArrayInputStream for an in-memory XML and such error would happen if this stream is read more than once without calling a reset in between.
Please let me know if this seems like a valid bug or if I am doing something wrong. -
I've notice that when I parse a stream using (java) DOMparser.parse, where that steam contains namespace prefixes, the parser returns with errors even though I've set the validationmode to false. Is this intended behavior, and if so how do I circumvente the parser from trying to resolve namespaces, but just check wellformedness?
You can't turn off the parser's namespace support. If you have invalid namespace prefixes, then an XML 1.0 Parser with XML Namespaces support (which ours is) should raise an error.
Resolving namespace prefixes is not part of validation, it's part of wellformedness checking. -
Hello,
I dont' know whether i am posting correct place or not. If it not correct please correct me where i have to post thread. I installed successfullly B1DE 2005b1sp01 1.3 version. I am using sap 2007 B PL 08. while i try to make the add on using B1DE System giving error "DI API dll not found at C:\Program files\SAP\SAP Business One\DIAPI\2005\SAPbobsCOM2005.dll. please reinstall B1DE and enter the correct B1 installation path."
Please help to come out this error
Thanks&Regards,
Vidhuroo.Hello Vidhuroo,
You have posted on the correct forum. However, I believe your issue is due to the version miss match. Find a new B1DE version supporting your B1 to install.
Thanks,
Gordon -
Oracle OCI CLIENT 11g is not connecting with PHP & Apache on Fedora
Dear all... we are facing following issue... similar to other but not able to resolve ...
Warning: oci_connect() [function.oci-connect]: OCIEnvNlsCreate() failed. There is something wrong with your system - please check that LD_LIBRARY_PATH includes the directory with Oracle Instant Client libraries in /var/www/html/waseem2.php on line 2
our PHPinfo(); is showing following the OCI8 Extenstion Enabled
PHP Version 5.2.9
System Linux localhost.localdomain 2.6.27.5-117.fc10.i686 #1 SMP Tue Nov 18 12:19:59 EST 2008 i686
Build Date Apr 17 2009 03:29:46
Configure Command './configure' '--build=i386-redhat-linux-gnu' '--host=i386-redhat-linux-gnu' '--target=i386-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--cache-file=../config.cache' '--with-libdir=lib' '--with-config-file-path=/etc' '--with-config-file-scan-dir=/etc/php.d' '--disable-debug' '--with-pic' '--disable-rpath' '--without-pear' '--with-bz2' '--with-curl' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--with-xpm-dir=/usr' '--enable-gd-native-ttf' '--with-t1lib=/usr' '--without-gdbm' '--with-gettext' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl' '--with-pcre-regex=/usr' '--with-zlib' '--with-layout=GNU' '--enable-exif' '--enable-ftp' '--enable-magic-quotes' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--enable-wddx' '--with-kerberos' '--enable-ucd-snmp-hack' '--enable-shmop' '--enable-calendar' '--without-mime-magic' '--without-sqlite' '--with-libxml-dir=/usr' '--enable-xml' '--with-system-tzdata' '--with-apxs2=/usr/sbin/apxs' '--without-mysql' '--without-gd' '--disable-dom' '--disable-dba' '--without-unixODBC' '--disable-pdo' '--disable-xmlreader' '--disable-xmlwriter' '--disable-json' '--without-pspell'
Server API Apache 2.0 Handler
Virtual Directory Support disabled
Configuration File (php.ini) Path /etc
Loaded Configuration File /etc/php.ini
Scan this dir for additional .ini files /etc/php.d
additional .ini files parsed /etc/php.d/dbase.ini, /etc/php.d/json.ini, /etc/php.d/ldap.ini, /etc/php.d/mbstring.ini, /etc/php.d/mysql.ini, /etc/php.d/mysqli.ini, /etc/php.d/pdo.ini, /etc/php.d/pdo_mysql.ini, /etc/php.d/pdo_sqlite.ini, /etc/php.d/zip.ini
PHP API 20041225
PHP Extension 20060613
Zend Extension 220060519
Debug Build no
Thread Safety disabled
Zend Memory Manager enabled
IPv6 Support enabled
Registered PHP Streams php, file, data, http, ftp, compress.bzip2, compress.zlib, https, ftps, zip
Registered Stream Socket Transports tcp, udp, unix, udg, ssl, sslv3, sslv2, tls
Registered Stream Filters string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, convert.iconv.*, bzip2.*, zlib.*
Zend logo This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
PHP Credits
Configuration
PHP Core
Directive Local Value Master Value
allow_call_time_pass_reference Off Off
allow_url_fopen On On
allow_url_include Off Off
always_populate_raw_post_data Off Off
arg_separator.input & &
arg_separator.output & &
asp_tags Off Off
auto_append_file no value no value
auto_globals_jit On On
auto_prepend_file no value no value
browscap no value no value
default_charset no value no value
default_mimetype text/html text/html
define_syslog_variables Off Off
disable_classes no value no value
disable_functions no value no value
display_errors On On
display_startup_errors Off Off
doc_root no value no value
docref_ext no value no value
docref_root no value no value
enable_dl On On
error_append_string no value no value
error_log no value no value
error_prepend_string no value no value
error_reporting 6143 6143
expose_php On On
extension_dir /usr/lib/php/modules /usr/lib/php/modules
file_uploads On On
highlight.bg #FFFFFF #FFFFFF
highlight.comment #FF8000 #FF8000
highlight.default #0000BB #0000BB
highlight.html #000000 #000000
highlight.keyword #007700 #007700
highlight.string #DD0000 #DD0000
html_errors On On
ignore_repeated_errors Off Off
ignore_repeated_source Off Off
ignore_user_abort Off Off
implicit_flush Off Off
include_path .:/usr/share/pear:/usr/share/php .:/usr/share/pear:/usr/share/php
log_errors On On
log_errors_max_len 1024 1024
magic_quotes_gpc Off Off
magic_quotes_runtime Off Off
magic_quotes_sybase Off Off
mail.force_extra_parameters no value no value
max_execution_time 30 30
max_input_nesting_level 64 64
max_input_time 60 60
memory_limit 32M 32M
open_basedir no value no value
output_buffering 4096 4096
output_handler no value no value
post_max_size 8M 8M
precision 14 14
realpath_cache_size 16K 16K
realpath_cache_ttl 120 120
register_argc_argv Off Off
register_globals Off Off
register_long_arrays Off Off
report_memleaks On On
report_zend_debug On On
safe_mode Off Off
safe_mode_exec_dir no value no value
safe_mode_gid Off Off
safe_mode_include_dir no value no value
sendmail_from no value no value
sendmail_path /usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i
serialize_precision 100 100
short_open_tag On On
SMTP localhost localhost
smtp_port 25 25
sql.safe_mode Off Off
track_errors Off Off
unserialize_callback_func no value no value
upload_max_filesize 2M 2M
upload_tmp_dir no value no value
user_dir no value no value
variables_order EGPCS EGPCS
xmlrpc_error_number 0 0
xmlrpc_errors Off Off
y2k_compliance On On
zend.ze1_compatibility_mode Off Off
apache2handler
Apache Version Apache/2.2.11 (Fedora)
Apache API Version 20051115
Server Administrator root@localhost
Hostname:Port localhost.localdomain:0
User/Group apache(48)/48
Max Requests Per Child: 4000 - Keep Alive: off - Max Per Connection: 100
Timeouts Connection: 120 - Keep-Alive: 15
Virtual Server No
Server Root /etc/httpd
Loaded Modules core prefork http_core mod_so mod_auth_basic mod_auth_digest mod_authn_file mod_authn_alias mod_authn_anon mod_authn_dbm mod_authn_default mod_authz_host mod_authz_user mod_authz_owner mod_authz_groupfile mod_authz_dbm mod_authz_default util_ldap mod_authnz_ldap mod_include mod_log_config mod_logio mod_env mod_ext_filter mod_mime_magic mod_expires mod_deflate mod_headers mod_usertrack mod_setenvif mod_mime mod_dav mod_status mod_autoindex mod_info mod_dav_fs mod_vhost_alias mod_negotiation mod_dir mod_actions mod_speling mod_userdir mod_alias mod_rewrite mod_proxy mod_proxy_balancer mod_proxy_ftp mod_proxy_http mod_proxy_connect mod_cache mod_suexec mod_disk_cache mod_file_cache mod_mem_cache mod_cgi mod_perl mod_php5 mod_proxy_ajp mod_python mod_ssl
Directive Local Value Master Value
engine 1 1
last_modified 0 0
xbithack 0 0
Apache Environment
Variable Value
LD_LIBRARY_PATH /home/zubair/instantclient_11_1_
HTTP_HOST localhost
HTTP_USER_AGENT Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.4) Gecko/2008111217 Fedora/3.0.4-1.fc10 Firefox/3.0.4
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_LANGUAGE en-us,en;q=0.5
HTTP_ACCEPT_ENCODING gzip,deflate
HTTP_ACCEPT_CHARSET ISO-8859-1,utf-8;q=0.7,*;q=0.7
HTTP_KEEP_ALIVE 300
HTTP_CONNECTION keep-alive
HTTP_COOKIE PHPSESSID=he50pdhvtihu74lhmjnvggfr42
PATH /sbin:/usr/sbin:/bin:/usr/bin
SERVER_SIGNATURE <address>Apache/2.2.11 (Fedora) Server at localhost Port 80</address>
SERVER_SOFTWARE Apache/2.2.11 (Fedora)
SERVER_NAME localhost
SERVER_ADDR 127.0.0.1
SERVER_PORT 80
REMOTE_ADDR 127.0.0.1
DOCUMENT_ROOT /var/www/html
SERVER_ADMIN root@localhost
SCRIPT_FILENAME /var/www/html/waseem.php
REMOTE_PORT 39529
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING no value
REQUEST_URI /waseem.php
SCRIPT_NAME /waseem.php
HTTP Headers Information
HTTP Request Headers
HTTP Request GET /waseem.php HTTP/1.1
Host localhost
User-Agent Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.4) Gecko/2008111217 Fedora/3.0.4-1.fc10 Firefox/3.0.4
Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language en-us,en;q=0.5
Accept-Encoding gzip,deflate
Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive 300
Connection keep-alive
Cookie PHPSESSID=he50pdhvtihu74lhmjnvggfr42
HTTP Response Headers
X-Powered-By PHP/5.2.9
Connection close
Transfer-Encoding chunked
Content-Type text/html; charset=UTF-8
bz2
BZip2 Support Enabled
Stream Wrapper support compress.bz2://
Stream Filter support bzip2.decompress, bzip2.compress
BZip2 Version 1.0.5, 10-Dec-2007
calendar
Calendar support enabled
ctype
ctype functions enabled
curl
cURL support enabled
cURL Information libcurl/7.18.2 NSS/3.12.1.1 zlib/1.2.3 libidn/0.6.14 libssh2/0.18
date
date/time support enabled
"Olson" Timezone Database Version 0.system
Timezone Database internal
Default timezone Asia/Karachi
Directive Local Value Master Value
date.default_latitude 31.7667 31.7667
date.default_longitude 35.2333 35.2333
date.sunrise_zenith 90.583333 90.583333
date.sunset_zenith 90.583333 90.583333
date.timezone no value no value
exif
EXIF Support enabled
EXIF Version 1.4 $Id: exif.c,v 1.173.2.5.2.27 2008/12/31 11:17:37 sebastian Exp $
Supported EXIF Version 0220
Supported filetypes JPEG,TIFF
filter
Input Validation and Filtering enabled
Revision $Revision: 1.52.2.45 $
Directive Local Value Master Value
filter.default unsafe_raw unsafe_raw
filter.default_flags no value no value
ftp
FTP support enabled
gettext
GetText Support enabled
gmp
gmp support enabled
GMP version 4.2.2
hash
hash support enabled
Hashing Engines md2 md4 md5 sha1 sha256 sha384 sha512 ripemd128 ripemd160 ripemd256 ripemd320 whirlpool tiger128,3 tiger160,3 tiger192,3 tiger128,4 tiger160,4 tiger192,4 snefru gost adler32 crc32 crc32b haval128,3 haval160,3 haval192,3 haval224,3 haval256,3 haval128,4 haval160,4 haval192,4 haval224,4 haval256,4 haval128,5 haval160,5 haval192,5 haval224,5 haval256,5
iconv
iconv support enabled
iconv implementation glibc
iconv library version 2.9
Directive Local Value Master Value
iconv.input_encoding ISO-8859-1 ISO-8859-1
iconv.internal_encoding ISO-8859-1 ISO-8859-1
iconv.output_encoding ISO-8859-1 ISO-8859-1
json
json support enabled
json version 1.2.1
ldap
LDAP Support enabled
RCS Version $Id: ldap.c,v 1.161.2.3.2.14 2008/12/31 11:17:39 sebastian Exp $
Total Links 0/unlimited
API Version 3001
Vendor Name OpenLDAP
Vendor Version 20412
SASL Support Enabled
libxml
libXML support active
libXML Version 2.7.3
libXML streams enabled
mbstring
Multibyte Support enabled
Multibyte string engine libmbfl
Multibyte (japanese) regex support enabled
Multibyte regex (oniguruma) version 4.4.4
Multibyte regex (oniguruma) backtrack check On
mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1.
Directive Local Value Master Value
mbstring.detect_order no value no value
mbstring.encoding_translation Off Off
mbstring.func_overload 0 0
mbstring.http_input pass pass
mbstring.http_output pass pass
mbstring.internal_encoding no value no value
mbstring.language neutral neutral
mbstring.strict_detection Off Off
mbstring.substitute_character no value no value
mysql
MySQL Support enabled
Active Persistent Links 0
Active Links 0
Client API version 5.0.84
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib/mysql -lmysqlclient
Directive Local Value Master Value
mysql.allow_persistent On On
mysql.connect_timeout 60 60
mysql.default_host no value no value
mysql.default_password no value no value
mysql.default_port no value no value
mysql.default_socket no value no value
mysql.default_user no value no value
mysql.max_links Unlimited Unlimited
mysql.max_persistent Unlimited Unlimited
mysql.trace_mode Off Off
mysqli
MysqlI Support enabled
Client API library version 5.0.84
Client API header version 5.0.77
MYSQLI_SOCKET /var/lib/mysql/mysql.sock
Directive Local Value Master Value
mysqli.default_host no value no value
mysqli.default_port 3306 3306
mysqli.default_pw no value no value
mysqli.default_socket no value no value
mysqli.default_user no value no value
mysqli.max_links Unlimited Unlimited
mysqli.reconnect Off Off
oci8
OCI8 Support enabled
Version 1.3.5
Revision $Revision: 1.269.2.16.2.38.2.32 $
Active Persistent Connections 0
Active Connections 0
Oracle Instant Client Version 11.1
Temporary Lob support enabled
Collections support enabled
Directive Local Value Master Value
oci8.connection_class no value no value
oci8.default_prefetch 100 100
oci8.events Off Off
oci8.max_persistent -1 -1
oci8.old_oci_close_semantics Off Off
oci8.persistent_timeout -1 -1
oci8.ping_interval 60 60
oci8.privileged_connect Off Off
oci8.statement_cache_size 20 20
openssl
OpenSSL support enabled
OpenSSL Version OpenSSL 0.9.8g 19 Oct 2007
pcre
PCRE (Perl Compatible Regular Expressions) Support enabled
PCRE Library Version 7.8 2008-09-05
Directive Local Value Master Value
pcre.backtrack_limit 100000 100000
pcre.recursion_limit 100000 100000
PDO
PDO support enabled
PDO drivers mysql, sqlite
pdo_mysql
PDO Driver for MySQL, client library version 5.0.84
pdo_sqlite
PDO Driver for SQLite 3.x enabled
PECL Module version 1.0.1 $Id: pdo_sqlite.c,v 1.10.2.6.2.4 2008/12/31 11:17:42 sebastian Exp $
SQLite Library 3.5.9
posix
Revision $Revision: 1.70.2.3.2.22 $
Reflection
Reflection enabled
Version $Id: php_reflection.c,v 1.164.2.33.2.55 2008/12/31 11:17:42 sebastian Exp $
session
Session Support enabled
Registered save handlers files user
Registered serializer handlers php php_binary wddx
Directive Local Value Master Value
session.auto_start Off Off
session.bug_compat_42 Off Off
session.bug_compat_warn On On
session.cache_expire 180 180
session.cache_limiter nocache nocache
session.cookie_domain no value no value
session.cookie_httponly Off Off
session.cookie_lifetime 0 0
session.cookie_path / /
session.cookie_secure Off Off
session.entropy_file no value no value
session.entropy_length 0 0
session.gc_divisor 1000 1000
session.gc_maxlifetime 1440 1440
session.gc_probability 1 1
session.hash_bits_per_character 5 5
session.hash_function 0 0
session.name PHPSESSID PHPSESSID
session.referer_check no value no value
session.save_handler files files
session.save_path /var/lib/php/session /var/lib/php/session
session.serialize_handler php php
session.use_cookies On On
session.use_only_cookies Off Off
session.use_trans_sid 0 0
shmop
shmop support enabled
SimpleXML
Simplexml support enabled
Revision $Revision: 1.151.2.22.2.46 $
Schema support enabled
sockets
Sockets Support enabled
SPL
SPL support enabled
Interfaces Countable, OuterIterator, RecursiveIterator, SeekableIterator, SplObserver, SplSubject
Classes AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException, BadMethodCallException, CachingIterator, DirectoryIterator, DomainException, EmptyIterator, FilterIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, NoRewindIterator, OutOfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RecursiveRegexIterator, RegexIterator, RuntimeException, SimpleXMLIterator, SplFileInfo, SplFileObject, SplObjectStorage, SplTempFileObject, UnderflowException, UnexpectedValueException
standard
Regex Library Bundled library enabled
Dynamic Library Support enabled
Path to sendmail /usr/sbin/sendmail -t -i
Directive Local Value Master Value
assert.active 1 1
assert.bail 0 0
assert.callback no value no value
assert.quiet_eval 0 0
assert.warning 1 1
auto_detect_line_endings 0 0
default_socket_timeout 60 60
safe_mode_allowed_env_vars PHP_ PHP_
safe_mode_protected_env_vars LD_LIBRARY_PATH LD_LIBRARY_PATH
url_rewriter.tags a=href,area=href,frame=src,input=src,form=fakeentry a=href,area=href,frame=src,input=src,form=fakeentry
user_agent no value no value
sysvmsg
sysvmsg support enabled
Revision $Revision: 1.20.2.3.2.8 $
tokenizer
Tokenizer Support enabled
wddx
WDDX Support enabled
WDDX Session Serializer enabled
xml
XML Support active
XML Namespace Support active
libxml2 Version 2.7.3
zip
Zip enabled
Extension Version $Id: php_zip.c,v 1.1.2.49 2009/02/05 19:53:22 pajoye Exp $
Zip version 1.8.11
Libzip version 0.9.0
zlib
ZLib Support enabled
Stream Wrapper support compress.zlib://
Stream Filter support zlib.inflate, zlib.deflate
Compiled Version 1.2.3
Linked Version 1.2.3
Directive Local Value Master Value
zlib.output_compression Off Off
zlib.output_compression_level -1 -1
zlib.output_handler no value no value
Additional Modules
Module Name
dbase
sysvsem
sysvshm
Environment
Variable Value
TERM xterm
LD_LIBRARY_PATH /home/zubair/instantclient_11_1/
PATH /sbin:/usr/sbin:/bin:/usr/bin
PWD /
LANG C
SHLVL 2
ORACLE_HOME /home/zubair/instantclient_11_1/
_ /usr/sbin/httpd
PHP Variables
Variable Value
_REQUEST["PHPSESSID"] he50pdhvtihu74lhmjnvggfr42
_COOKIE["PHPSESSID"] he50pdhvtihu74lhmjnvggfr42
SERVER["LDLIBRARY_PATH"] /home/zubair/instantclient_11_1
_SERVER["HTTP_HOST"] localhost
_SERVER["HTTP_USER_AGENT"] Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.4) Gecko/2008111217 Fedora/3.0.4-1.fc10 Firefox/3.0.4
_SERVER["HTTP_ACCEPT"] text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
_SERVER["HTTP_ACCEPT_LANGUAGE"] en-us,en;q=0.5
_SERVER["HTTP_ACCEPT_ENCODING"] gzip,deflate
_SERVER["HTTP_ACCEPT_CHARSET"] ISO-8859-1,utf-8;q=0.7,*;q=0.7
_SERVER["HTTP_KEEP_ALIVE"] 300
_SERVER["HTTP_CONNECTION"] keep-alive
_SERVER["HTTP_COOKIE"] PHPSESSID=he50pdhvtihu74lhmjnvggfr42
_SERVER["PATH"] /sbin:/usr/sbin:/bin:/usr/bin
_SERVER["SERVER_SIGNATURE"] <address>Apache/2.2.11 (Fedora) Server at localhost Port 80</address>
_SERVER["SERVER_SOFTWARE"] Apache/2.2.11 (Fedora)
_SERVER["SERVER_NAME"] localhost
_SERVER["SERVER_ADDR"] 127.0.0.1
_SERVER["SERVER_PORT"] 80
_SERVER["REMOTE_ADDR"] 127.0.0.1
_SERVER["DOCUMENT_ROOT"] /var/www/html
_SERVER["SERVER_ADMIN"] root@localhost
_SERVER["SCRIPT_FILENAME"] /var/www/html/waseem.php
_SERVER["REMOTE_PORT"] 39529
_SERVER["GATEWAY_INTERFACE"] CGI/1.1
_SERVER["SERVER_PROTOCOL"] HTTP/1.1
_SERVER["REQUEST_METHOD"] GET
_SERVER["QUERY_STRING"] no value
_SERVER["REQUEST_URI"] /waseem.php
_SERVER["SCRIPT_NAME"] /waseem.php
_SERVER["PHP_SELF"] /waseem.php
_SERVER["REQUEST_TIME"] 1253301146
_ENV["TERM"] xterm
_ENV["LD_LIBRARY_PATH"] /home/zubair/instantclient_11_1/
_ENV["PATH"] /sbin:/usr/sbin:/bin:/usr/bin
_ENV["PWD"] /
_ENV["LANG"] C
_ENV["SHLVL"] 2
_ENV["ORACLE_HOME"] /home/zubair/instantclient_11_1/
_ENV["_"] /usr/sbin/httpd
PHP License
This program is free software; you can redistribute it and/or modify it under the terms of the PHP License as published by the PHP Group and included in the distribution in the file: LICENSE
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
If you did not receive a copy of the PHP license, or have any questions about PHP licensing, please contact [email protected].
Have a nice day!
Fatal error: Call to undefined function odbc_connect() in /var/www/html/waseem.php on line 20
------------------------------------------------------------------------------------------Is the problem with oci_connect or odbc_connect?
The phpinfo() output shows '--without-unixODBC' which may be a root cause. There is no 'odbc' section shown in the phpinfo() output so I wouldn't expect odbc calls to work.
But if the issue is with OCI8, then make sure that Oracle environment variables and LD_LIBRARY_PATH are set BEFORE starting Apache.
More information on OCI8 and PHP is in http://www.oracle.com/technology/tech/php/underground-php-oracle-manual.html
Also see http://wiki.oracle.com/page/PHP+Oracle+FAQ
The PHP forum on OTN is http://www.oracle.com/technology/forums/php.html -
Hi,
I tried to convert some of my JSPs to the full XML way, using <jsp:root xmlns:jsp ....> and so on to describe all scriptlets, declartives etc via this "nice" xml way.
Problem:
When i include a xmlns:mytaglib="/somtag" in the root element, as decribed in sun spec, the taglib extenstion was not recognized any more -> no error, but as well, no content from the Taglib. ( the old <%@ taglib uri=".." prefix=".." %> still works.
Maybe i did some namespace error ?? Could you please comment on
- what's the excat namespace supported in wls for <jsp:root ...
- DTD name (DOCTYPE declaration )
- supports wls fully all xml tags from the sun spec
- are there known problems in the current beta ?
Thanks,
Paul
Something to that effect yes. I have been using the community ID's and Home Page ID's to keep track of what data for my portlets goes where. Normally this wouldnt be an issue since your data would be differt between the various instances of the portal (dev, test, production) but we have a strange situation currently where we dont have enought rack space to put up all of our servers for the portal. So the only instances we have up is a "sandbox" of types to facilate new tests of code and UI changes, and a "Dev / Production" instance. We are building this Dev instance up with content items and communities and we plan on moving it completely to the Production instances when our servers get racked (as it where). So, I"m concern that data items wont transfer over during the mirgation.Regards,Ray SimpsonSenior Portal DeveloperApollo Group Inc.
-
What program to use to create an RSS feed for iTues. PC-user.
Hi! I'm a PC-user. I need to create an RSS feed for iTunes. What program do I need to use?
Thanks,
CharleyToday, Sep. 24, 2006, there is on the Webpage a link
(http://www.feedforall.com/download.htm) (Shareware)
to the FeedForAll v2.0 BETA2 with iTunes Support.
Read on the website:
"FeedForAll BETA- robust RSS feed creation software with namespace support includind support for iTunes and other namespaces." -
I am designing an EDD. I have an element which can contain a large hierarchy of subelements.There is text I want to display at the start and end of the element (same text in both locations), but I don't want the user to have to enter it twice. If it were simply a string, I'd make it an attribute and include its value in a prefix and a suffix. However, it's a cross-reference.
I am currently considering making the cross-reference the first child of the original element and then using a plug-in or script to copy the cross-reference text into an attribute that I insert into a suffix. This solution is not elegant and it complicates my application since I do not otherwise need a plug-in or script.
Can anyone suggest another approach?
Thanks.Russ,
I phrased the question the way I did to make it general and not tie it to my specific application.
Since you ask, however, I use a structured FrameMaker application to edit XSLT code itself.The structure used when editing is similar but distinct from the actual XSLT structure. For example, I can have nested, automatically numbered lists within comments and comment out text that includes comments. I type most names (such as variable, template, and paramenter names) only once and then use those names through cross-references. Thus, I can change a name as a transform develops, update cross-references and be sure that all uses are updated, and so forth. I won't take the time to give a complete description here, there's some detail on an early version at http://www.txstruct.com/papers/TriXML06.EditingXSLT.pdf.
As I am editing, the content of the document window looks like XSLT even though the structure differs slightly from actual XSLT. The intent is that users (who must be XSLT programmers) easily understand the correspondence between the two structures. I am revising the application. One of the enhancements is extended namespace support. Currently, I have a structure similar to:
<LiteralResultElement gi="Elt">
<LiteralResultAttributes>
<LiteralResultAttribute attribute_name="Att1">Val1</LiteralResultAttribute>
<LiteralResultAttribute attribute_name="Att2">Val2</LiteralResultAttribute>
</LiteralResultAttributes>
</LiteralResultElement>
In the document window and after running the post-process transform when saving the document as XML, this structure appears as:
<Elt Att1="Val1" Att2="Val2">
</Elt>
A major goal of the application is that the content of the document window should look like the final output. This approach works well. Currently, though, when I want a namespace prefix on the name of the literal result element, I just type the prefix in the gi attribute (for example, the FM equivalent of <LiteralResultElement gi="pref:Elt">). This convention means that if I decide to change a prefix, I have to find all occurrences of it throughout my document (or book if I'm using multiple files) and change them all. A better solution would be to put a cross-reference to the xmlns:pref attribute inside the literal result element so that I can change the prefix once and update all its uses automatically.
To answer your question, finally, I am currently using XSLT to prepare output and not to affect the appearance of the document window during editing. The reason I started this thread was to ask for ideas on how to approach this problem.
--Lynne
P.S. Anyone who would like to try the application is welcome to contact me. -
CSS reference chart for spark?
I'm running into many issues when trying to add CSS into my project due to the way spark skins now work with CSS. Is there a CSS reference chart I can use or spark? Also why did Adobe remove the CSS design view in flash builder 4?
Hi,
Can you elaborate on the issues you're having with CSS? The main change between Flex 3 and Flex 4 is 'CSS namespaces'. I don't know of a reference chart, per se,but I took the following from an article in Adobe Dev Center called 'Differences between Flex 3 and Flex 4 beta'.
Flex 4 beta has also added multiple namespace support in CSS. If you are using the MXML 2009, Spark, and Halo namespaces along with Type selectors, you will need to define a set of namespaces in your CSS definitions to avoid name collisions.
Here is an example of CSS that uses type selectors for both Halo and Spark components:
<fx:Style>
@namespace s "library://ns.adobe.com/flex/spark";
@namespace mx "library://ns.adobe.com/flex/halo";
s|Button {
color: #FF0000;
mx|DateChooser {
color: #FF0000;
</fx:Style>
The Halo and Spark skinning models are different enough that the existing CSS design view implementation (in Flex Builder 3) isn't the right solution for the task of skinning Spark components. The engineering team is currently investigating ideas to address this issue in FB4 for Spark components. (Btw, the CSS design mode is still available in Flash Builder 4, but only for Flex 3 SDK projects.)
thanks
Tim -
PHP options in version provided by OS X Server 10.4.6/.7?
My workplace is currently using Solaris 10/SPARC for webhosting, and our sysadmins were unable to get Apache 2.2.3/PHP5.1.4/MySQL5 to successfully compile and load. So they kept backing down to earlier versions of the above components until finally they got something like Apache 2.0.52/PHP 5.0.4/MySQL? (I'm going by memory) to successfully compile and load.
If it's this hard to get the current versions of the world's most popular httpd server (Apache) and web scripting language (PHP) installed, maybe Solaris 10/SPARC is not the right platform to be on for this kind of work?
IF we went OS X 10.4.6/.7 server, what would we get? Apache 1.3? 2.0? PHP 4.x? What options would be included under PHP? (e.g. could someone post the phpinfo(); result just for the PHP options that would appear on the 1st webpage? with a default OS X 10.4.6/.7 server install?)
When I google for 'Apache/PHP/MySQL and OS X', many webpages offer instructions and even compilation flags, but these are followed by warnings that these instructions only work on OS X workstation, not on OS X server. This would seem to indicate that OS X server users tend to leave the Apple-provided versions of Apache/PHP/MySQL as they are in the OS X server distribution?
any advice or pointers appreciated, ...ben
PB G4 15 1.67 GHz, iBook SE 0.47 GHz Mac OS X (10.4.6)OS X Server 10.4 comes with Apache 2 pre-installed, but you cannot use the GUI tools for configuring it. That's probably not a big deal to you coming from Solaris -- the GUI tools for the web server stay pretty basic and you wind up editing config files on the command line usually anyway.
MySQL 4.1.13 is still the default, but upgrading from a binary package from MySQL is simple enough -- no tricks there.
The default version of PHP is still 4.4.x. I've pasted the results below. However, rather than recompiling, for our PHP needs on the servers I used Marc Liyanage's PHP module (http://www.entropy.ch/software/macosx/php). I've been using it for at least a couple of years now, if not more, and it's great. Comes loaded with extensions, easy and painless to upgrade. Version 5.1.4 for Apache 2 is out. Although it doesn't explicitly state "Server", I have found, at least with the versions for Apache 1.3, that there has never been a problem using it on OS X Server.
There just is not a lot of good info out there on recompiling on OS X Server, so rather than chase down info every time there's an OS update, it works out easily enough for our needs to use the pre-built module.
Note: the info pasted below is from Apple's default setup as of 10.4.7, not the module from Entropy.
<pre>phpinfo()
PHP Version => 4.4.1
System => Darwin grok2.local 8.7.0 Darwin Kernel Version 8.7.0: Fri May 26 15:20:53 PDT 2006; root:xnu-792.6.76.obj~1/RELEASE_PPC Power Macintosh
Build Date => Mar 5 2006 10:28:06
Configure Command => '/SourceCache/apachemod_php/apache_modphp-18.4/php/configure'
'--prefix=/usr' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--disable-dependency-tracking'
'--with-apxs' '--with-ldap=/usr' '--with-kerberos=/usr' '--enable-cli' '--with-zlib-dir=/usr' '--enable-trans-sid'
'--with-xml' '--enable-exif' '--enable-ftp' '--enable-mbstring' '--enable-mbregex'
'--enable-dbx' '--enable-sockets' '--with-iodbc=/usr' '--with-curl=/usr' '--with-config-file-path=/etc'
'--sysconfdir=/private/etc' '--with-mysql=/usr' '--with-mysql-sock=/var/mysql/mysql.sock'
Server API => Command Line Interface
Virtual Directory Support => disabled
Configuration File (php.ini) Path => /etc
PHP API => 20020918
PHP Extension => 20020429
Zend Extension => 20050606
Debug Build => no
Zend Memory Manager => enabled
Thread Safety => disabled
Registered PHP Streams => php, http, ftp, compress.zlib
This program makes use of the Zend Scripting Language Engine:
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
Configuration
PHP Core
Directive => Local Value => Master Value
allowcall_time_passreference => On => On
allowurlfopen => On => On
alwayspopulate_raw_postdata => Off => Off
arg_separator.input => & => &
arg_separator.output => & => &
asp_tags => Off => Off
autoappendfile => no value => no value
autoprependfile => no value => no value
browscap => no value => no value
default_charset => no value => no value
default_mimetype => text/html => text/html
definesyslogvariables => Off => Off
disable_classes => no value => no value
disable_functions => no value => no value
display_errors => On => On
displaystartuperrors => Off => Off
doc_root => no value => no value
docref_ext => no value => no value
docref_root => no value => no value
enable_dl => On => On
errorappendstring => no value => no value
error_log => no value => no value
errorprependstring => no value => no value
error_reporting => no value => no value
expose_php => On => On
extension_dir => /usr/lib/php/extensions/no-debug-non-zts-20020429 => /usr/lib/php/extensions/no-debug-non-zts-20020429
file_uploads => On => On
gpc_order => GPC => GPC
highlight.bg => #FFFFFF => #FFFFFF
highlight.comment => #FF8000 => #FF8000
highlight.default => #0000BB => #0000BB
highlight.html => #000000 => #000000
highlight.keyword => #007700 => #007700
highlight.string => #DD0000 => #DD0000
html_errors => Off => On
ignorerepeatederrors => Off => Off
ignorerepeatedsource => Off => Off
ignoreuserabort => Off => Off
implicit_flush => On => Off
include_path => .:/usr/lib/php => .:/usr/lib/php
log_errors => Off => Off
logerrors_maxlen => 1024 => 1024
magicquotesgpc => On => On
magicquotesruntime => Off => Off
magicquotessybase => Off => Off
maxexecutiontime => 0 => 30
maxinputtime => -1 => -1
open_basedir => no value => no value
output_buffering => 0 => 0
output_handler => no value => no value
postmaxsize => 8M => 8M
precision => 14 => 14
registerargcargv => On => On
register_globals => Off => Off
report_memleaks => On => On
safe_mode => Off => Off
safemode_execdir => /usr/local/php/bin => /usr/local/php/bin
safemodegid => Off => Off
safemode_includedir => no value => no value
sendmail_from => no value => no value
sendmail_path => /usr/sbin/sendmail -t -i => /usr/sbin/sendmail -t -i
serialize_precision => 100 => 100
shortopentag => On => On
SMTP => localhost => localhost
smtp_port => 25 => 25
sql.safe_mode => Off => Off
track_errors => Off => Off
unserializecallbackfunc => no value => no value
uploadmaxfilesize => 2M => 2M
uploadtmpdir => no value => no value
user_dir => no value => no value
variables_order => no value => no value
xmlrpcerrornumber => 0 => 0
xmlrpc_errors => Off => Off
y2k_compliance => On => On
ctype
ctype functions => enabled
curl
CURL support => enabled
CURL Information => libcurl/7.13.1 OpenSSL/0.9.7i zlib/1.2.3
dbx
dbx support => enabled
dbx version => 1.0.0
supported databases => MySQL
ODBC
PostgreSQL
Microsoft SQL Server
FrontBase
Oracle 8 (oci8)
Sybase-CT
Directive => Local Value => Master Value
dbx.colnames_case => unchanged => unchanged
exif
EXIF Support => enabled
EXIF Version => 1.4 $Id: exif.c,v 1.118.2.37.2.3 2005/10/10 06:07:16 helly Exp $
Supported EXIF Version => 0220
Supported filetypes => JPEG,TIFF
ftp
FTP support => enabled
ldap
LDAP Support => enabled
RCS Version => $Id: ldap.c,v 1.130.2.13 2005/05/08 16:06:24 sniper Exp $
Total Links => 0/unlimited
API Version => 3001
Vendor Name => OpenLDAP
Vendor Version => 20219
mbstring
Multibyte Support => enabled
Japanese support => enabled
Simplified chinese support => enabled
Traditional chinese support => enabled
Korean support => enabled
Russian support => enabled
Multibyte (japanese) regex support => enabled
mbstring extension makes use of "streamable kanji code filter and converter",
which is distributed under the GNU Lesser General Public License version 2.1.
Directive => Local Value => Master Value
mbstring.detect_order => no value => no value
mbstring.encoding_translation => Off => Off
mbstring.func_overload => 0 => 0
mbstring.http_input => pass => pass
mbstring.http_output => pass => pass
mbstring.internal_encoding => ISO-8859-1 => no value
mbstring.language => neutral => neutral
mbstring.substitute_character => no value => no value
mysql
MySQL Support => enabled
Active Persistent Links => 0
Active Links => 0
Client API version => 4.1.13a
MYSQLMODULETYPE => external
MYSQL_SOCKET => /var/mysql/mysql.sock
MYSQL_INCLUDE => -I/usr/include/mysql
MYSQL_LIBS => -L/usr/lib/mysql -lmysqlclient
Directive => Local Value => Master Value
mysql.allow_persistent => On => On
mysql.connect_timeout => 60 => 60
mysql.default_host => no value => no value
mysql.default_password => no value => no value
mysql.default_port => no value => no value
mysql.default_socket => no value => no value
mysql.default_user => no value => no value
mysql.max_links => Unlimited => Unlimited
mysql.max_persistent => Unlimited => Unlimited
mysql.trace_mode => Off => Off
odbc
ODBC Support => enabled
Active Persistent Links => 0
Active Links => 0
ODBC library => iodbc
ODBC_INCLUDE => -I/usr/include
ODBC_LFLAGS => -L/usr/lib
ODBC_LIBS => -liodbc
Directive => Local Value => Master Value
odbc.allow_persistent => On => On
odbc.check_persistent => On => On
odbc.default_db => no value => no value
odbc.default_pw => no value => no value
odbc.default_user => no value => no value
odbc.defaultbinmode => return as is => return as is
odbc.defaultlrl => return up to 4096 bytes => return up to 4096 bytes
odbc.max_links => Unlimited => Unlimited
odbc.max_persistent => Unlimited => Unlimited
overload
User-Space Object Overloading Support => enabled
pcre
PCRE (Perl Compatible Regular Expressions) Support => enabled
PCRE Library Version => 6.2 01-Aug-2005
posix
Revision => $Revision: 1.51.2.4 $
session
Session Support => enabled
Registered save handlers => files user
Directive => Local Value => Master Value
session.auto_start => Off => Off
session.bugcompat42 => On => On
session.bugcompatwarn => On => On
session.cache_expire => 180 => 180
session.cache_limiter => nocache => nocache
session.cookie_domain => no value => no value
session.cookie_lifetime => 0 => 0
session.cookie_path => / => /
session.cookie_secure => Off => Off
session.entropy_file => no value => no value
session.entropy_length => 0 => 0
session.gc_divisor => 100 => 100
session.gc_maxlifetime => 1440 => 1440
session.gc_probability => 1 => 1
session.name => PHPSESSID => PHPSESSID
session.referer_check => no value => no value
session.save_handler => files => files
session.save_path => /tmp => /tmp
session.serialize_handler => php => php
session.use_cookies => On => On
session.useonlycookies => Off => Off
session.usetranssid => Off => Off
sockets
Sockets Support => enabled
standard
Regex Library => Bundled library enabled
Dynamic Library Support => enabled
Path to sendmail => /usr/sbin/sendmail -t -i
Directive => Local Value => Master Value
assert.active => 1 => 1
assert.bail => 0 => 0
assert.callback => no value => no value
assert.quiet_eval => 0 => 0
assert.warning => 1 => 1
autodetect_lineendings => 0 => 0
defaultsockettimeout => 60 => 60
safemode_allowed_envvars => PHP_ => PHP_
safemode_protected_envvars => LDLIBRARYPATH => LDLIBRARYPATH
url_rewriter.tags => a=href,area=href,frame=src,form=,fieldset= => a=href,area=href,frame=src,form=,fieldset=
user_agent => no value => no value
tokenizer
Tokenizer Support => enabled
xml
XML Support => active
XML Namespace Support => active
EXPAT Version => 1.95.6
zlib
ZLib Support => enabled
Compiled Version => 1.2.3
Linked Version => 1.2.3
Directive => Local Value => Master Value
zlib.output_compression => Off => Off
zlib.outputcompressionlevel => -1 => -1
zlib.output_handler => no value => no value
Additional Modules
Module Name
Environment
Variable => Value
TERM => xterm
SHELL => /bin/bash
SSH_TTY => /dev/ttyp1
USER => **
MAIL => /var/mail/**
PATH => /bin:/sbin:/usr/bin:/usr/sbin
PWD => /Users/**
SHLVL => 1
HOME => /Users/**
LOGNAME => **
PHP Variables
Variable => Value
_SERVER["TERM"] => xterm
_SERVER["SHELL"] => /bin/bash
SERVER["SSHTTY"] => /dev/ttyp1
_SERVER["USER"] => **
_SERVER["MAIL"] => /var/mail/**
_SERVER["PATH"] => /bin:/sbin:/usr/bin:/usr/sbin
_SERVER["PWD"] => /Users/**
_SERVER["SHLVL"] => 1
_SERVER["HOME"] => /Users/**
_SERVER["LOGNAME"] => **
SERVER[""] => /usr/bin/php-from-apple
SERVER["PHPSELF"] =>
SERVER["SCRIPTNAME"] =>
SERVER["SCRIPTFILENAME"] =>
SERVER["PATHTRANSLATED"] =>
SERVER["DOCUMENTROOT"] =>
_SERVER["argv"] => Array
_SERVER["argc"] => 0
_ENV["TERM"] => xterm
_ENV["SHELL"] => /bin/bash
ENV["SSHTTY"] => /dev/ttyp1
_ENV["USER"] => **
_ENV["MAIL"] => /var/mail/**
_ENV["PATH"] => /bin:/sbin:/usr/bin:/usr/sbin
_ENV["PWD"] => /Users/**
_ENV["SHLVL"] => 1
_ENV["HOME"] => /Users/**
_ENV["LOGNAME"] => **
ENV[""] => /usr/bin/php-from-apple
PHP License
This program is free software; you can redistribute it and/or modify
it under the terms of the PHP License as published by the PHP Group
and included in the distribution in the file: LICENSE
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
If you did not receive a copy of the PHP license, or have any
questions about PHP licensing, please contact [email protected].</pre> -
Validating with multiple schemas
I am setting the schama attribute as follow:
String schemaSource = "C:\\Documents and Settings\\ayache\\My Documents\\C5 XML\\schema\\searhRequest.xsd";
String JAXP_SCHEMA_SOURCE = "http://java.sun.com/xml/jaxp/properties/schemaSource";
builderFactory.setAttribute(JAXP_SCHEMA_SOURCE, new File(schemaSource));searchRequest.xsd contains include statement: it referes to another schema. When i try to validate the xml document using the scheam above error is thrown stating that the elements that are defined in the second schema(BookingProfile.xsd) are not recognised or can't be resolved.
Is there a way to set multiple schemas?
Your help is much appreciated.I figured out my problem in case anyone else is having trouble..
In the xml document that you need to refer to:
xmlns:xsd="http://www.w3.org/2000/10/XMLSchema-instance that is the namespace
supported by xerces 1.3.1.
Whew!
"Karen Schaper" <[email protected]> wrote:
>
Has anyone been successful at validating xml with a Schema running weblogic
6.1
sp2?
Here is a snippet of code...
SAXParserFactory objFactory = SAXParserFactory.newInstance();
objFactory.setValidating("true");
objFactory.setNamespaceAware("true");
objFactory.setFeature("http://apache.org/xml/features/validation/schema",
"true");
objXMLInputParser.parse(new InputSource(new StringReader(XMLDocument)),
A_HANDLER);
When my xml code runs through the parser I get an error for each element
saying
the element type is not declared in the dtd or schema.
Since weblogic 6.1 runs with 1.3.1 Xerces parser. Does it support xml
validation
with a Schema. From what I've read it seems that it does.
Any help or insight would be appreciated.
Thanks
Karen -
I have a weird XML doc where the data is contained in the node in placed.
An example.
<computers><computerData ip-Dir="127.0.0.1" name ="eth01"/></computers>
What I want to do is get the IP address so I can edit it later. Here is the code I am using.
$path = C:\temp\temp.xml
$xdoc = New-Object -TypeName XML
$xdoc.Load($path)
[xml]XMLConfig = Get-Content -path $path
$xdoc."computers"."computerData" | Select-Object -Property "ip-Dir"
This doesn't work though. Just gives me "ip-dir : "
Any thoughts?You can also do this but it may fail on complex documents:
PS C:\scripts> $xml.computers.computerData
ip-Dir name
127.0.0.1 eth01
127.0.0.2 eth02
127.0.0.3 eth03
127.0.0.4 eth01
PS C:\scripts> $xml.computers.computerData.Name
eth01
eth02
eth03
eth01
PS C:\scripts> $xml.computers.computerData[2]
ip-Dir name
127.0.0.3 eth03
PS C:\scripts> $xml.computers.computerData[2].'ip-Dir'
127.0.0.3
You may also have to add namespace support.
¯\_(ツ)_/¯ -
Hi to all,
I have a question using XSU to become XML.
I have the following query
query =""+
"SELECT "+
"anordnung.match as \"@MATCH\","+
"substr(datei,0,instr(datei,'/',-1)-1) as \"@PATH\", "+
"anordnung.rang as \"@RANG\" ,"+
"substr( "+
" substr( "+
" datei, "+
" 0, "+
" length(datei)-4 "+
" ), "+
" instr(substr( "+
" datei, "+
" 0, "+
" length(datei)-4 "+
" ),'/',-1)+1 "+
") ELEMENT "+
"FROM xsl_modul , anordnung "+
"WHERE "+
"xsl_modul.xsl_id = anordnung.xsl_id "+
"ORDER BY anordnung.match, anordnung.rang";
and the following settings:
qry.setRowsetTag("Anordnung"); // set the tags encapsulating the whole doc
qry.setRowTag("Modul");
I become the following result:
<ANORDNUNG>
<MODUL MATCH="amfcomm" PATH="/pifs/module/_standard" RANG="1">
<ELEMENT>region2</ELEMENT>
</MODUL>
<MODUL MATCH="amfcomm" PATH="/pifs/module/_standard" RANG="2">
<ELEMENT>header1</ELEMENT>
</MODUL>
<MODUL MATCH="amfcomm" PATH="/pifs/module/_standard" RANG="3">
<ELEMENT>text_a_b_c</ELEMENT>
</MODUL>
But I like to become the following result so that the XML-ELEMENT-->ELEMENT is the content of MODUL:
<MODUL MATCH="amfcomm" PATH="/pifs/module/_standard" RANG="1">
region2
</MODUL>
<MODUL MATCH="amfcomm" PATH="/pifs/module/_standard" RANG="2">
header1
</MODUL>
<MODUL MATCH="amfcomm" PATH="/pifs/module/_standard" RANG="3">
text_a_b_c
</MODUL>
HOW CAN I BECOME THIS?????
Thanks a lot.
Greetings from Frankfurt/Germany
SchoeibYou can also do this but it may fail on complex documents:
PS C:\scripts> $xml.computers.computerData
ip-Dir name
127.0.0.1 eth01
127.0.0.2 eth02
127.0.0.3 eth03
127.0.0.4 eth01
PS C:\scripts> $xml.computers.computerData.Name
eth01
eth02
eth03
eth01
PS C:\scripts> $xml.computers.computerData[2]
ip-Dir name
127.0.0.3 eth03
PS C:\scripts> $xml.computers.computerData[2].'ip-Dir'
127.0.0.3
You may also have to add namespace support.
¯\_(ツ)_/¯
Maybe you are looking for
-
Which CPU should I buy to support hardware virtualisation
I would like to buy a cpu/motherboard bundle , but I want it to definately support "hardware virtualisation" . Am having great difficulty in find clear and easy to read info as to which CPU does or does not support hardware virtualisation. are there
-
Storing an HP printed in a hot storage faciity
I need to put this printer into storage for awhile, but it's in Florida and the storage unit is NOT climate controlled. How dangerous is this for my printer?
-
Which Adobe software do I need?
Good day... I recently purchased my first MacBook Pro, and am in a service class where I have to download service documentation (schematics, flow-charts, etc), from CD to my Mac. Problem is, I can't seem to view some of these docs, as they were inte
-
Random NUMBER generator help..
Hi all, i'm having issues with my random number generator i'm trying to fill my array with random numbers but i keep getting it filled with zeros.... can any one tell me what i'm doing wrong i can;t figure it out.. for (int i =0; i < 100; i++){
-
has anyone had any problems when updating the ipad2 - when fully charged, the screen is black with the apple icon and a rotary wheel and the screen flashes between this view and the actual ipad2 tablet screen that has the slide to unlock bar....the s