logo       


Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

RE: Getting SAX Exception Content is not allowed in prolog. when using my c: msg#00056

Subject: RE: Getting SAX Exception Content is not allowed in prolog. when using my code on Unix platform
I have already executed the dos2unix command.

I used FileZilla to ftp my file on my Unix system (Ascii mode for my
file).

Lydie 

-----Original Message-----
From: Prashant [mailto:prashant@xxxxxxxxxxx] 
Sent: Tuesday, October 17, 2006 15:22
To: j-users@xxxxxxxxxxxxxxxxx
Subject: Re: Getting SAX Exception Content is not allowed in prolog.
when using my code on Unix platform


> oups I forgot "on Windows system" so the sentence is:

How did you transport the file across the operating systems ? I wonder
if this is good ol' line endings problem.

May be you should try dos2unix command on the xml file ?

>  
> When executing my Java code (using Xerces parser) *_on a Windows 
> system_*, everything is ok. When I use the same code with the same xml

> files (except the path local) on a Unix platform , I got: SAX 
> Exception Content is not allowed in prolog.
>  
> Sorry.
>
>
------------------------------------------------------------------------
>     *From:* Decoker, Lydie (Lydie) [mailto:decoker@xxxxxxxxxx]
>     *Sent:* Tuesday, October 17, 2006 14:52
>     *To:* j-users@xxxxxxxxxxxxxxxxx
>     *Subject:* Getting SAX Exception Content is not allowed in prolog.
>     when using my code on Unix platform
>
>     Hi!
>      
>     When executing my Java code (using Xerces parser), everything is
>     ok. When I use the same code with the same xml files (except the
>     path local) on a Unix platform , I got: SAX Exception Content is
>     not allowed in prolog.
>      
>     My xml file:
>      
>     <JMSProperties xmlns="http://lucent.com/GRIPP/jmsProperties";
>     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>     xsi:schemaLocation="http://lucent.com/GRIPP/jmsProperties
>     JMS_properties.xsd">
>      <SYSTEM_NAME>WFM014</SYSTEM_NAME>
>      <INSTANCE_ID>INTF_TEST</INSTANCE_ID>
>
<XSLT_FILE>"/servernet/wfm/lucent/LUplat/nbi/xsltemplates/jms-wfm.xsl"</
XSLT_FILE>
>
<CATALOG>"/servernet/wfm/lucent/LUplat/config/JMSCatalog.xml"</CATALOG>
>
<JMS_OUTGOING_GATEWAY_MANAGER_CLASS>"com.lucent.lws.nebilight.NeBiJMSOut
goingGatewayManager"</JMS_OUTGOING_GATEWAY_MANAGER_CLASS>
>
<JMS_INCOMING_GATEWAY_CLASS>"com.lucent.lws.nebilight.NeBiJMSIncomingGat
eway"</JMS_INCOMING_GATEWAY_CLASS>
>
<JMS_OUTGOING_GATEWAY_CLASS>"com.lucent.lws.nebilight.NeBiJMSOutgoingGat
eway"</JMS_OUTGOING_GATEWAY_CLASS>
>      <JMS_SESSION_TRANSACTED/>
>      <JMS_SESSION_ACKMODE/>
>      <CONNECTION_FACTORY>"myConnectionFactory"</CONNECTION_FACTORY>
>      <PROVIDER_URL>"tcp://135.87.9.11:3035"</PROVIDER_URL>
>
<INITIAL_CONTEXT_FACTORY>"org.exolab.jms.jndi.InitialContextFactory"</IN
ITIAL_CONTEXT_FACTORY>
>      <JMSMessageConsumption>asynchronously</JMSMessageConsumption>
>      <OUTGOING_SELECTION_FIELD>MessageType</OUTGOING_SELECTION_FIELD>
>
<RESPONSE_ON_SUCCESS_DOCUMENT>"BD:OrderResponse_L_1.0"</RESPONSE_ON_SUCC
ESS_DOCUMENT>
>
<RESPONSE_ON_ERROR_DOCUMENT>"BD:ErrorReport_L_0.5"</RESPONSE_ON_ERROR_DO
CUMENT>
>
<NOTIFICATION_DOCUMENT>"BD:ExecutionStatus_L_1.0"</NOTIFICATION_DOCUMENT
>
>      <IncomingGateways>
>       <IncomingGateway>
>        <QueueName QueueType="Queue">QueueName3</QueueName>
>       </IncomingGateway>
>       <IncomingGateway>
>        <QueueName QueueType="Queue">QueueName3</QueueName>
>       </IncomingGateway>
>      </IncomingGateways>
>      <OutgoingGateways>
>       <OutgoingGateway>
>        <QueueName QueueType="Queue">QueueName4</QueueName>
>       
>
<OutgoingSelectionFieldValue>"BD:OrderResponse_L_1.0"</OutgoingSelection
FieldValue>
>       </OutgoingGateway>
>       <OutgoingGateway>
>        <QueueName QueueType="Queue">QueueName4</QueueName>
>       
>
<OutgoingSelectionFieldValue>"BD:ErrorReport_L_0.5"</OutgoingSelectionFi
eldValue>
>       </OutgoingGateway>
>      </OutgoingGateways>
>     </JMSProperties>
>     Any suggestion on the root cause of this issue?
>      
>     Thx!
>      
>


---------------------------------------------------------------------
To unsubscribe, e-mail: j-users-unsubscribe@xxxxxxxxxxxxxxxxx
For additional commands, e-mail: j-users-help@xxxxxxxxxxxxxxxxx


Ruby Jobs
Java Jobs
Jobs in California
more...
what
job title, keywords
where
city, state, zip
jobs by job search
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
encryption.gpg....    ietf.rfc822/199...    freebsd.devel.i...    lang.haskell.li...    mail.squirrelma...    web.zope.plone....    yellowdog.gener...    text.xml.xalan....    recreation.phot...    kde.devel.educa...    hardware.bus.ca...    printing.ghosts...    voip.peering/20...    assembly/2006-0...    org.user-groups...    culture.interne...    network.i2p/200...    boot-loaders.ya...    xfree86.render/...    qnx.openqnx.dev...    jakarta.velocit...    user-groups.pal...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe