RE: XInclude and xml:lang

David Lee <[email protected]>
Newsgroups gmane.text.xml.xerces-j.user
Message-ID <220256FDE771B74FB662165BC562CF5946EAA851@CH1PRD0811MB418.namprd08.prod.outlook.com>
On which element did you get xml:lang=""

----------------------------------------
David A. Lee
[email protected]
http://www.xmlsh.org


-----Original Message-----
From: polymorphisme [mailto:[email protected]] 
Sent: Tuesday, October 09, 2012 2:23 PM
To: [email protected]
Subject: XInclude and xml:lang


My question is very simple.
I have a main file : 
<foo xml:lang="fr" xmlns:xi="http://www.w3.org/2001/XInclude">
  <xi:include href="file.xml"/> 
</foo> 

and the file.xml : <bar/>

When I do a test with the exemple sax.Writer, I obtain the attribut
xml:lang="" ! 
Why I can't obtain xml:lang="fr" ou nothing since I have foo xml:lang="fr" ?

sax.Writer -xi src/resources/xerces/xerces-xi.xml
<foo xml:lang="fr" xmlns:xi="http://www.w3.org/2001/XInclude">
  <bar xml:base="file.xml" xml:lang=""/>
 </foo> 

Regard.
-- 
View this message in context: http://old.nabble.com/XInclude-and-xml%3Alang-tp34533941p34533941.html
Sent from the Xerces - J - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.