uCosminexus Application Server, XML Processor User Guide
The following table gives cautionary notes on the org.xml.sax.ext package.
Table 6-29 Notes on the org.xml.sax.ext package
| No. | Notes |
|---|---|
| 1 | The addAttribute method of the Attributes2Impl class is not supported. Instead, use the addAttribute method of the AttributesImpl class and modify the application as follows: (Before modification)
Attributes2Impl myAtt = new Attributes2Impl();
String type = "ID";
myAtt.addAttribute("http://hitachi-xmlprocessor.com/", "attr", "ht:attr", type, "value");
...
(After modification)
AttributesImpl myAtt = new AttributesImpl();
String type = "ID";
myAtt.addAttribute("http://hitachi-xmlprocessor.com/", "attr", "ht:attr", type, "value");
Attributes2Impl myAtt2 = new Attributes2Impl(myAtt);
int position = myAtt2.getLength() -1;
myAtt2.setSpecified(position, true);
myAtt2.setDeclared (position, !"CDATA".equals(type));
...
|
| 2 | The getXMLVersion and getEncoding methods of the Locator2Impl class are not supported. |
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd.