|
Hello, I'm having an interesting error occur (shown in subject) that I can't seem to find a solution to. I'm not sure whether it is a Xerces issue or Xalan, so if I am posting to the wrong group, I apologize. I'm running XML files through a SAX parser to modify the content before I push them through a Xalan transformer. The error occurs when I attempt to convert a processing instruction into an entity reference. Could somebody please explain what this error is referring to specifically and what I may need to do to correct it? Thanks in advance! Example PI: <?module c:\foo.xml?> Code Snippet:
public void processingInstruction(String target, String data)
{
if(target.compareTo("module") == 0)
{
data = "" '/');
data = "" + 1, data.lastIndexOf(".xml"));
buffer.append("&" + data + ";");
}
else
{
...
}
}
--
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Anthony Rabaa Software Developer AMCon Research Inc., Ottawa, Ontario, Canada http://www.amconresearch.com |
- error: more pseudo attributes expected. Anthony Rabaa
- Re: error: more pseudo attributes expected. Joseph Kesselman
- Re: error: more pseudo attributes expected. Anthony Rabaa
- Re: error: more pseudo attributes expected. Joseph Kesselman
- RE: error: more pseudo attributes expected. Sander Bos
- Re: error: more pseudo attributes expected. Anthony Rabaa
