Archive

Posts Tagged ‘Errors’

Xalan errors in U2 XML

December 1, 2009 Leave a comment

Just a quick note about errors from U2 XML. I’m assuming UniVerse uses the same XML parser as UniData.

I was playing around with converting XML to HTML using XDOMTransform yesterday when an error got returned. After using XMLGetError I could see it was an ‘uncaught XalanDOMException’ (code 14 to be exact, UD error code 16.) That meant exactly zilch to me, so I looked up the Xalan documentation and found the following:

XalanDOMException Class Reference

Turns out it was unhappy about my namespace attribute in the html tag inside my xslt file.

Maybe this reference will be useful to someone else if you encounter other XalanDOMException errors from U2.