[Xml-compile] unqualified troubles :)

Mark Overmeer mark at overmeer.net
Mon Feb 9 16:07:16 GMT 2009


* Jozef Kutej (jozef at kutej.net) [090209 11:42]:
> > Maybe someone can find the rule which describes this behavior in detail.
> > The Schema spec is unreadable for me.  Maybe more accessible for native
> > speakers.
> 
> http://www.w3.org/TR/xmlschema-0/#UnqualLocals
> 
> There is XSD+XML example with unqualified. It looks similar as my note.xsd and
> .xsd. The root element has a namespace (targetNamespace) but the child elements
> has no namespace, expect one element defined via ref.

And if I read the section after it as well, the default depends on
the existence of a targetNamespace defined by the schema.  I'll
change the code.

> > Well, yes and no.  For one, XML::Compile does not pretend to be a perfect
> > validator.  It does validate a lot, but not everything.
> 
> But something must have gone wrong when the XML::Compile didn't output any
> structure?

It beats me as well, while writing the tests for the first case, so
I will change that as well.
-- 
Regards,
               MarkOv

------------------------------------------------------------------------
       Mark Overmeer MSc                                MARKOV Solutions
       Mark at Overmeer.net                          solutions at overmeer.net
http://Mark.Overmeer.net                   http://solutions.overmeer.net




More information about the Xml-compile mailing list