Difference between revisions of "User:TerryChen"

From CDOT Wiki
Jump to: navigation, search
 
(21 intermediate revisions by the same user not shown)
Line 39: Line 39:
 
   <li>Blog [http://t3rrychan.blogspot.com/2009_06_01_archive.html OSD 700 Project - Bug 245698]</li>  
 
   <li>Blog [http://t3rrychan.blogspot.com/2009_06_01_archive.html OSD 700 Project - Bug 245698]</li>  
 
</ul>
 
</ul>
</br>
+
<br/>
 
<h4>Week 04</h4>
 
<h4>Week 04</h4>
 
<ul>
 
<ul>
Line 62: Line 62:
 
<h4>Week 07</h4>
 
<h4>Week 07</h4>
 
<ul>
 
<ul>
  <li>Checked the code for New XML Wizard in '''org.eclipse.wst.xml.ui'''</li>
+
  <li>Checked the code for 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 > NewXMLWizard.java<br/>
  org.eclipse.wst.xml.ui > src-wizards > org.eclipse.wst.xml.ui.internal.wizards >NewXMLGenerator.java
+
    org.eclipse.wst.xml.ui > src-wizards > org.eclipse.wst.xml.ui.internal.wizards > NewXMLGenerator.java
  <li>Checked '''performFinish()''' in '''NewXMLWizard.java'''</li>
+
  <li>Checked the code for the action listener of finish button on New XML Wizard in '''NewXMLWizard.java'''</li>
  <li>Checked '''createXMLDocument(IFile newFile, String xmlFileName)''' in '''NewXMLGenerator.java'''</li>
+
<li>Checked the code for generate new XML document in '''NEWXMLGenerator.java'''</li>
 +
</ul>
 +
<br/>
 +
<h4>Week 08</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>
 
</ul>
 
<br/>
 
<br/>
<h4>Study Week</h4>
+
<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>

Latest revision as of 05:02, 19 August 2009

About Me

  • Name: Terry(Jiachang) Chen
  • Program: CPAC

Contacts

Weekly Activities

Week 01

  • Created my wiki account
  • Created an account on bugzilla
  • Opened my blog on blogspot.com
  • Installed Chatzilla addon on FireFox


Week 02

  • Downloaded and extract Eclipse RCP/Plug-in Developers
  • Downloaded and extract Eclipse WTP3.1M7
  • Looked for bugs to fix on bugzilla


Week 03


Week 04


Week 05


Week 06

  • Checked out org.eclipse.wst.sse.core
  • Checked out org.eclipse.wst.xml.core
  • Checked out org.eclipse.wst.sse.ui
  • Checked out org.eclipse.wst.xml.ui


Week 07

  • Checked the code for NewXMLWizard.java and NewXMLGenerator.java in org.eclipse.wst.xml.ui
  •    org.eclipse.wst.xml.ui > src-wizards > org.eclipse.wst.xml.ui.internal.wizards > NewXMLWizard.java
    org.eclipse.wst.xml.ui > src-wizards > org.eclipse.wst.xml.ui.internal.wizards > NewXMLGenerator.java
  • Checked the code for the action listener of finish button on New XML Wizard in NewXMLWizard.java
  • Checked the code for generate new XML document in NEWXMLGenerator.java


Week 08

  • Checked the code for DOMContentBuilderImpl.java in org.eclipse.wst.xml.core
  •     org.eclipse.wst.xml.core > scr-contentmodel > org.eclipse.wst.xml.core.internal.contentmodel.util > DOMContentBuilderImpl.java
  • Checked the code for creating root content of the XML document in DOMContentBuilderImpl.java
  • Checked the code for creating xml elements in DOMContentBuilderImpl.java
  • Checked the code for creating xml attributes in DOMContentBuilderImpl.java


Week 09


Week 10

  • Checked out org.eclipse.wst.xsd.core
  • Checked the code for calculating the name space in XSDImpl.java
  •        org.eclipse.wst.xsd.core > src-contentmodel > org.eclipse.wst.xsd.contentmodel.internal > XSDImpl.java > XSDSchemaAdapter > getProperty()
  • Blog move from xml.core to xsd.core


Week 11

  • Checked the code for createing attributes for an element in XSDImpl.java
  •        org.eclipse.wst.xsd.core > src-contentmodel > org.eclipse.wst.xsd.contentmodel.internal > 
    XSDImpl.java > ElementDeclarationBaseImpl > getAttributes()
  • Blog Exploring xsd.core


Week 12

  • Tried to create a quick patch for Bug 245698 by changing the getAttrName function under XSDAttributeUseAdapter in XSDImpl.java to the following
  •    public String getAttrName()
    {
      String attrName = xsdAttributeUse.getAttributeDeclaration().getName();
      if (attrName.equals("lang") == true)
         attrName = "xml:lang";
      return attrName;
    }