Open main menu

CDOT Wiki β

TerryChen

Joined 12 May 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;
    }