You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Brian Warner <nu...@hotmail.com> on 2003/03/17 10:22:29 UTC
problem with SAX2XMLReader parse()
Hi,
I've got a problem with the function parse() from SAX2XMLReader.
It reads one of my xml file, but at a line it stops and exits.
What can be the causes of this ? Is there a problem in my xml file ? One of
my parameters perhaps ?
Because I don't see why it works and then suddenly exits, so I guess the
function has no trouble.
Here is the code :
<liveLayer name="player" producer="camera" depth="3">
<transform scale="2" rotation="myVector[0]/myVector[1]"/>
</liveLayer>
<-------- It exits here
<liveLayer name="playerShadow" producer="camera"
position="(history(camera.bottom).x*(2-2.4),history(camera.bottom).y*(2-106.0/240))"
depth="4" opacity="0.6" red="1" green="1" blue="1">
<transform scales="(2.4,106.0/240)"/>
</liveLayer>
Regards,
Fabrice Louis.
_________________________________________________________________
Recevez vos e-mails MSN Hotmail par SMS sur votre GSM !
http://www.fr.msn.be/gsm/servicesms/hotmailparsms
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
RE: problem with SAX2XMLReader parse()
Posted by Tony Dodd <to...@btinternet.com>.
The XSL standard gives as a condition of well-formedness (2.1):
There is exactly one element, called the root, or document element, no
part of which appears in the content of any other element.
You have two such.
Tony Dodd
>-----Original Message-----
>From: Brian Warner [mailto:numero_7@hotmail.com]
>Sent: 17 March 2003 09:22
>To: xerces-c-dev@xml.apache.org
>Subject: problem with SAX2XMLReader parse()
>
>
>Hi,
>
>I've got a problem with the function parse() from
>SAX2XMLReader. It reads one of my xml file, but at a line it
>stops and exits. What can be the causes of this ? Is there a
>problem in my xml file ? One of
>my parameters perhaps ?
>Because I don't see why it works and then suddenly exits, so I
>guess the
>function has no trouble.
>
>Here is the code :
>
><liveLayer name="player" producer="camera" depth="3">
> <transform scale="2" rotation="myVector[0]/myVector[1]"/>
> </liveLayer>
>
><-------- It exits here
>
> <liveLayer name="playerShadow" producer="camera"
>position="(history(camera.bottom).x*(2-2.4),history(camera.bott
>om).y*(2-106.0/240))"
>depth="4" opacity="0.6" red="1" green="1" blue="1">
> <transform scales="(2.4,106.0/240)"/>
> </liveLayer>
>
>
>Regards,
>Fabrice Louis.
>
>_________________________________________________________________
>Recevez vos e-mails MSN Hotmail par SMS sur votre GSM !
>http://www.fr.msn.be/gsm/servicesms/hotmailparsms
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
>For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org