Difference between revisions of "User:TerryChen"
(7 intermediate revisions by the same user not shown) | |||
Line 89: | Line 89: | ||
<li>Checked out '''org.eclipse.wst.xsd.core'''</li> | <li>Checked out '''org.eclipse.wst.xsd.core'''</li> | ||
<li>Checked the code for calculating the name space in '''XSDImpl.java'''</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<br/> | + | 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> | <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/> | ||
+ | String attrName = xsdAttributeUse.getAttributeDeclaration().getName();<br/> | ||
+ | if (attrName.equals("lang") == true)<br/> | ||
+ | attrName = "xml:lang";<br/> | ||
+ | return attrName;<br/> | ||
+ | }<br/> | ||
</ul> | </ul> |
Latest revision as of 05:02, 19 August 2009
- Name: Terry(Jiachang) Chen
- Program: CPAC
Contacts |
---|
- Email: jchen124@learn.senecac.on.ca
- Blog: http://t3rrychan.blogspot.com/
- IRC Nickname: TerryChan
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
- Chose Bug 245698, Normal, P3
- Reproduced Bug 245698
- Blog OSD 700 Project - Bug 245698
Week 04
- Analyzed the errors of the XML file generated from web-jsptaglibrary_2_1.xsd
- Followed the XML Schema Tutorial from w3c schools
Week 05
- Found out the cause of Bug 245698
- Blog Cause of Bug245698
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
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
Week 09
- Feed my blog postings to PlanetEclipse
- Blog code inspection for bug245698
- Blog more code inspection for bug245698
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()
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()
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;
}