Sorry for the delay; somehow this got tagged as spam. http://www.w3.org/XML/1998/namespace is a built-in namespace, and can't be generated from a schema. pyxb doesn't have a binding for it, but does recognize and process elements/attributes in that namespace in both schema and documents.
Maybe I missed a use-case: what are you trying to do that you need a binding for it? Peter On Wed, Apr 4, 2012 at 10:21 PM, N. Max Pierson <nmaxpier...@gmail.com> wrote: > Hi, > > I'm getting a warning from pyxbgen when trying to generate a module for XML > Namespace located here http://www.w3.org/XML/1998/namespace > > The source xsd can be found here http://www.pyxlmap.com/xml.xsd and the > warning messages are as follows ... > > **!!**!! Not destroying builtin {http://www.w3.org/XML/1998/namespace}lang: > STD[<anonymous>:restriction of anySimpleType > pattern="",enumeration=""] > Replacing unresolved AD[{http://www.w3.org/XML/1998/namespace}lang:?] > **!!**!! Not destroying builtin {http://www.w3.org/XML/1998/namespace}base: > STD[anyURI:restriction of anySimpleType > > pattern="",minLength="None",length="None",maxLength="None",whiteSpace="collapse",enumeration=""] > Replacing unresolved AD[{http://www.w3.org/XML/1998/namespace}base:?] > **!!**!! Not destroying builtin {http://www.w3.org/XML/1998/namespace}id: > STD[ID:restriction of NCName] > Replacing unresolved AD[{http://www.w3.org/XML/1998/namespace}id:?] > Replacing unresolved AGD[{http://www.w3.org/XML/1998/namespace}specialAttrs] > Python for xml=http://www.w3.org/XML/1998/namespace requires 1 modules > WARNING: No binding file for > NM:xml=http://www.w3.org/XML/1998/namespace@base > > And the module does not get built. Any ideas? > > Regards, > Max > > ------------------------------------------------------------------------------ > Better than sec? Nothing is better than sec when it comes to > monitoring Big Data applications. Try Boundary one-second > resolution app monitoring today. Free. > http://p.sf.net/sfu/Boundary-dev2dev > _______________________________________________ > pyxb-users mailing list > pyxb-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/pyxb-users > ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ pyxb-users mailing list pyxb-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pyxb-users