A single file should work. I’m not getting any errors when using the -remove-circulars argument and the XML processing seems to be working very well so far.
On Jul 20, 2016, at 8:38 PM, Alex Harui <aha...@adobe.com> wrote: > Fun stuff, huh? > > I think the (short-term) answer is to have the build merge XML.js and > XMLList.js into a single file. We might need to have the compiler special > case the dependency calculation as well. > > -Alex > > On 7/20/16, 6:46 AM, "Harbs" <harbs.li...@gmail.com> wrote: > >> Also: >> >> The signatures of XML functions have XMLList and XMLList has signatures >> with XML. >> >> On Jul 20, 2016, at 4:42 PM, Harbs <harbs.li...@gmail.com> wrote: >> >>> I have no idea how to even go about removing that dependency. >>> >>> XMLList has a list of XML, so it needs to know about XML. >>> >>> XML needs to build XMLLists of it’s children. >>> >>> Even creating a factory doesn’t seem to me like it would solve this >>> problem because XML needs to know about the factory and the factory >>> needs to know about XML. >>> >>> On Jul 20, 2016, at 4:35 PM, Harbs <harbs.li...@gmail.com> wrote: >>> >>>> I removed this, and now I’m getting an circular error of: XMLList -> >>>> XML -> XMLList >>>> >>>> That’s going to be hard to remove… :-( >>>> >>>> On Jul 20, 2016, at 1:44 PM, Harbs <harbs.li...@gmail.com> wrote: >>>> >>>>> I tried removing the -remove-circulars option, and the only error I >>>>> was was a circular dependency of: SEVERE: ERROR - Circular dependency >>>>> detected: Namespace -> QName -> Namespace >>>>> >>>> >>> >> >