Open main menu

CDOT Wiki β

Changes

User:TerryChen

2,359 bytes added, 06:02, 19 August 2009
no edit summary
<h4>Week 07</h4>
<ul>
<li>Checked the code for New XML Wizard NewXMLWizard.java and NewXMLGenerator.java in '''org.eclipse.wst.xml.ui'''</li> org.eclipse.wst.xml.ui > src-wizards > org.eclipse.wst.xml.ui.internal.wizards >NewXMLWizard.java<br/> org.eclipse.wst.xml.ui > src-wizards > org.eclipse.wst.xml.ui.internal.wizards >NewXMLGenerator.java <li>Checked '''performFinish()''' the code for the action listener of finish button on New XML Wizard in '''NewXMLWizard.java'''</li> <li>Checked '''createXMLDocument(IFile newFile, String xmlFileName)''' the code for generate new XML document in '''NewXMLGeneratorNEWXMLGenerator.java'''</li>
</ul>
<br/>
<h4>Study Week08</h4><ul> <li>Checked the code for DOMContentBuilderImpl.java in '''org.eclipse.wst.xml.core'''</li> org.eclipse.wst.xml.core > scr-contentmodel > org.eclipse.wst.xml.core.internal.contentmodel.util > DOMContentBuilderImpl.java<br/> <li>Checked the code for creating root content of the XML document in '''DOMContentBuilderImpl.java'''</li> <li>Checked the code for creating xml elements in '''DOMContentBuilderImpl.java'''</li> <li>Checked the code for creating xml attributes in '''DOMContentBuilderImpl.java'''</li></ul><br/><h4>Week 09</h4><ul> <li>Feed my blog postings to [http://www.planeteclipse.org/planet PlanetEclipse]</li> <li>Blog [http://t3rrychan.blogspot.com/2009/07/code-inspection-for-bug-245698.html code inspection for bug245698]</li> <li>Blog [http://t3rrychan.blogspot.com/2009/08/more-code-inspection-for-bug-245698.html more code inspection for bug245698]</li></ul><br/><h4>Week 10</h4><ul> <li>Checked out '''org.eclipse.wst.xsd.core'''</li> <li>Checked the code for calculating the name space in '''XSDImpl.java'''</li> org.eclipse.wst.xsd.core > src-contentmodel > org.eclipse.wst.xsd.contentmodel.internal > XSDImpl.java > XSDSchemaAdapter > getProperty()<br/> <li>Blog [http://t3rrychan.blogspot.com/2009/08/move-from-xmlcore-to-xsdcore.html move from xml.core to xsd.core]</li></ul><br/><h4>Week 11</h4><ul> <li>Checked the code for createing attributes for an element in '''XSDImpl.java'''</li> org.eclipse.wst.xsd.core > src-contentmodel > org.eclipse.wst.xsd.contentmodel.internal > <br/> XSDImpl.java > ElementDeclarationBaseImpl > getAttributes()<br/> <li>Blog [http://t3rrychan.blogspot.com/2009/08/exploring-xsdcore.html Exploring xsd.core]</li></ul><br/><h4>Week 12</h4><ul> <li>Tried to create a quick patch for [https://bugs.eclipse.org/bugs/show_bug.cgi?id=245698 Bug 245698] by changing the getAttrName function under XSDAttributeUseAdapter in XSDImpl.java to the following</li> public String getAttrName()<br/> {<br/> &nbsp;&nbsp;String attrName = xsdAttributeUse.getAttributeDeclaration().getName();<br/> &nbsp;&nbsp;if (attrName.equals("lang") == true)<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;attrName = "xml:lang";<br/> &nbsp;&nbsp;return attrName;<br/> }<br/></ul>
1
edit