Probably Flex doesn't like having the default namespace repurposed in the
file. I don't know what the XML rules say about that. It would be safer to
Thanks for the suggestion, but that didn't appear to work, still got the same error. Do you have any other ideas? Thanks for your assistance.
What does your XML look like now?
Does this pretend snippet compile/parse for you? Sometimes there can be
subtle issues in a chuck of XML. I use comments to remove chunks of the XML
and see if it compiles/parses.
Yes, if I look at in something like oXygen XML Editor, it has no errors and when I validate it against my Schema XSD it tells me the document is valid.
I think you didn't understand me. If you use the parent/child/grandchild
XML in your app, does that compile/parse correctly?
I would still try commenting out sections of your actual XML to identify
what is fooling the Flex compiler/parser
Could the problem be that at the URI's, "http://www.parent.com/Parent" and "http://www.grandchild.com/Grandchild" there are no actual XSD documents, meaning that instead of using xmlns:par="http://www.parent.com/Parent" or xmlns:gc="http://www.grandchild.com/Grandchild" I need something like schemaLocation="http://www.parent.com/Parent file:/path/to/Parent.xsd http://www.grandchild.com/Grandchild file:/path/to/Grandchild.xsd"?
Message was edited by: msucena
I don't think so. I'm not sure there is that kind of validation going on at
the point of the error.
Have you actually tried the parent/child/granchild XML like I suggested and
found that it fails like the actual XML?
Also, IIRC, trailing whitespace after the closing tag can cause parse
What is IIRC?
If I Recall Correctly