Project

Profile

Help

# bug in Saxon 9b in asp.net?

Added by Anonymous almost 17 years ago

Legacy ID: #4711364 Legacy Poster: Jesper Tverskov (jesper_tverskov)

When I transform the following file from the XMLCONF with the identity template, it works when using Saxon 9B from inside OXYGEN but the transformation fails when I transform from inside ASP.NET using "saxon9.dll", etc. I can transform all other valid and invalid files in XMLCONF with Saxon from inside ASP.NET. I have located the problem to be "#" as first character in PUBLIC. If I put in a letter before it, the file transforms also in ASP.NET. Here is the input file (ibm13v01.xml): <?xml version="1.0"?> <!DOCTYPE student PUBLIC "#x20 #xD #xA abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ -'()+,./:=?;!*#@$_% " "student.dtd"[ ]> <!-- testing Pubid char with all legal pubidchar in a string --> <student>My Name is SnowMan. </student> Cheers, Jesper Tverskov


Replies (2)

RE: # bug in Saxon 9b in asp.net? - Added by Anonymous almost 17 years ago

Legacy ID: #4713546 Legacy Poster: Michael Kay (mhkay)

I wasn't able to reproduce it. Can you explain more precisely what you are doing? What was the error message? And what made you think it came from Saxon, rather than from the Microsoft XML parser (it seems unlikely to be a Saxon problem, as Saxon never has cause to look at the public identifier - it's much more likely to be an XML parser issue.)

RE: # bug in Saxon 9b in asp.net? - Added by Anonymous almost 17 years ago

Legacy ID: #4713615 Legacy Poster: Jesper Tverskov (jesper_tverskov)

OK When using: catch (Exception ex) ex.Message says: "Error reported by XML parser:" ex.Source says: "saxon9". Jesper

    (1-2/2)

    Please register to reply