Open main menu

CDOT Wiki β

Changes

User:TerryChen

1,053 bytes added, 06:02, 19 August 2009
no edit summary
<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