Hi-

I am running data through the SAX parser that looks like the following:

<?WGXPPrightHandPageStart pagePrefix="Page 1-" ??>
<?page type='recto' seq='025000' lev='|||||' fol='1'??>
<publication>
  <publication.front> 
...

And I am receiving this error:
Feb 25, 2003 7:57:21 AM  [ERROR (-101)] : java.util.EmptyStackException
        at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1094)
        at
com.westgroup.phoenix.repository.reposloadpreproc.LoadPreproc.processXML(Loa
dPreproc.java:840)
        at
com.westgroup.phoenix.repository.reposloadpreproc.LoadPreproc.main(LoadPrepr
oc.java:355)

If I change the data to:
<publication>
<?WGXPPrightHandPageStart pagePrefix="Page 1-" ??>
<?page type='recto' seq='025000' lev='|||||' fol='1'??>
  <publication.front> 
...

It runs fine. Are processing instructions before the first element illegal
in XML or is this a SAX bug?

Thanks.

Christopher Wake
West Group
716-546-5530 x3128


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to