Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"drop yo" not in library #5

Open
GoogleCodeExporter opened this issue Aug 6, 2015 · 3 comments
Open

"drop yo" not in library #5

GoogleCodeExporter opened this issue Aug 6, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

I'm trying to write up this pattern in KEL:
http://www.wingedsheep.com/blog/2009/01/14/double_dropped_scarf.html

It's a short pattern with a simple repeated section. 
Two of the interesting rows are these:
Row 21: K1,* yo, yo, k1 * repeat to end of row
Row 22: K1,* Drop yo's, k1 * repeat to end of row

However I'm unable to represent the "drop yo" step in KEL

This is the KEL I used to represent these two lines:

Row: K1, repeat to end { yo, yo, k1 }
Row: K1, repeat to end { drop yo, drop yo, k1 } 

I get the following error on the XML screen: Could not convert text to XML:
exception is groovy.lang.MissingPropertyException: No such property: yo for
class: com.knitml.el.definition.KnittingDefinitions


If I change the lines to this

        Row: K1, repeat to end { yo, yo, k1 }
        Row: K1, repeat to end { drop, drop, k1 } 
The XML view renders successfully, but the pattern view fails with this:

Could not render pattern: exception is
com.knitml.renderer.common.RenderingException:
org.jibx.runtime.JiBXException: No unmarshaller for element
"{http://www.knitml.com/schema/pattern}drop" (line 58, col 11) 
at 
com.knitml.renderer.service.impl.RenderingServiceImpl.renderPattern(RenderingSer
viceImpl.java:22)

at 
com.knitml.gpec.kel.editors.PatternViewControlContainer.doRenderPattern(PatternV
iewControlContainer.java:136)


I'm using 0.2.0 on MacOSX 10.6

Original issue reported on code.google.com by jessica.sant on 19 Mar 2010 at 12:48

@GoogleCodeExporter
Copy link
Author

"drop" isn't in the spec. I'll change this request to a spec enhancement.

Original comment by [email protected] on 29 Mar 2010 at 4:28

  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect

@GoogleCodeExporter
Copy link
Author

Original comment by [email protected] on 29 Mar 2010 at 4:38

  • Changed state: Accepted
  • Added labels: Milestone-Release0.6, Priority-High
  • Removed labels: Priority-Medium

@GoogleCodeExporter
Copy link
Author

Original comment by [email protected] on 4 Nov 2011 at 4:16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant