Hey,
I ran into a strange problem with some code. Even though I was set an
error handler my code was Aborting. I discovered this was because it
was actually generating an *exception* and not an *error*.
Could some please explain why these two LocalFileInputSource's behave
differently:
1) ./als_sigma.xml
2) /tmp/als_sigma.xml
Even though both files are non-existent 1) causes an exception: 'Could
not determine base pathname of the file', while the second generates a
fatal_error: 'The primary document entity could not be opened'
This seems counter intuitive to me.
Thanks,
jas.
Example #1:
----------
SAXCount ./als_sigma.xml
Error during parsing: './als_sigma.xml'
Exception message is:
Could not determine base pathname of the file
Example #2:
----------
SAXCount /tmp/als_sigma.xml
Fatal Error at file (null), line 0, char 0
Message: An exception occured! Type:RuntimeException, Message:The primary document
entity could not be opened. Id=/tmp/als_sigma.xml
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]